Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testForStrings (0.07 sec)

  1. guava-tests/test/com/google/common/hash/FunnelsTest.java

        verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1});
      }
    
      public void testForBytes_null() {
        assertNullsThrowException(Funnels.byteArrayFunnel());
      }
    
      public void testForStrings() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.unencodedCharsFunnel().funnel("test", primitiveSink);
        verify(primitiveSink).putUnencodedChars("test");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top