ContainerSignatureMatch { public ContainerSignature getSignature() { return signature; } ContainerSignatureMatch(ContainerSignature sig, long maxBytesToScan); Set<String> getUnmatchedFiles(); boolean isMatch(); void matchFileEntry(String entryName); boolean needsBinaryMatch(String entryName); void matchBinaryContent(String entryName, ByteReader content); ContainerSignature getSignature();  }
@Test public void testConstructorSetsSignature() { ContainerSignature sig = mock(ContainerSignature.class); match = new ContainerSignatureMatch(sig, -1L); assertEquals(sig, match.getSignature()); }