Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for thenReturn (0.09 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        TestHashSet<Entry<String>> entrySet = new TestHashSet<>();
        when((Comparator<Comparable<String>>) toCopy.comparator())
            .thenReturn(Ordering.<Comparable<String>>natural());
        when(toCopy.entrySet()).thenReturn(entrySet);
        ImmutableSortedMultiset<String> unused = ImmutableSortedMultiset.copyOfSorted(toCopy);
        assertTrue(entrySet.toArrayCalled);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top