- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testApply (0.17 sec)
-
android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
when(mock.getAll(ImmutableList.of("key"))).thenReturn(ImmutableMap.of("key", Boolean.TRUE)); assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); } public void testApply() { when(mock.apply("key")).thenReturn(Boolean.TRUE); assertSame(Boolean.TRUE, forward.apply("key")); } public void testInvalidate() { forward.invalidate("key"); verify(mock).invalidate("key");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
when(mock.getAll(ImmutableList.of("key"))).thenReturn(ImmutableMap.of("key", Boolean.TRUE)); assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); } public void testApply() { when(mock.apply("key")).thenReturn(Boolean.TRUE); assertSame(Boolean.TRUE, forward.apply("key")); } public void testInvalidate() { forward.invalidate("key"); verify(mock).invalidate("key");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0)