- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testCount_elementAbsent (0.09 seconds)
-
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
public void testCount_elementPresent() { int COUNT = 12; when(backingMap.get(KEY)).thenReturn(new AtomicInteger(COUNT)); assertEquals(COUNT, multiset.count(KEY)); } public void testCount_elementAbsent() { when(backingMap.get(KEY)).thenReturn(null); assertEquals(0, multiset.count(KEY)); } public void testAdd_zero() { int INITIAL_COUNT = 32;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 16.3K bytes - Click Count (0)