Class ByteStringMatchers


  • public final class ByteStringMatchers
    extends Object
    • Method Detail

      • utf8

        public static org.hamcrest.Matcher<okio.ByteString> utf8​(org.hamcrest.Matcher<String> matcher)
        Matches a ByteString with utf8 value matching the specified Matcher
        Parameters:
        matcher - The matcher matching the expected String value
        Returns:
        A Matcher matching ByteStrings utf8 value