Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testForBytes (0.06 sec)

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

    import junit.framework.TestCase;
    import org.mockito.InOrder;
    
    /**
     * Tests for HashExtractors.
     *
     * @author Dimitris Andreou
     */
    public class FunnelsTest extends TestCase {
      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink);
        verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1});
      }
    
    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