### Question:
DDocFacade implements Serializable { public int countSignatures() { logger.debug("Get the number of signatures"); List<Signature> signatures = getSignatures(); return (signatures == null) ? 0 : signatures.size(); } DDocFacade(Configuration configuration);   DDocFacade(SignedDoc ddoc); String getSignatureProfile(); DigestAlgorithm getDigestAlgorithm(); List<DataFile> getDataFiles(); int countDataFiles(); void save(String path); void save(OutputStream out); List<Signature> getSignatures(); Signature getSignature(int index); int countSignatures(); Container.DocumentType getDocumentType(); ContainerValidationResult validate(); String getVersion(); String getFormat(); Configuration getConfiguration();  }### Answer:
@Test public void testCountSignatures() { DDocFacade facade = openDDocFacade("src/test/resources/testFiles/valid-containers/ddoc_for_testing.ddoc"); Assert.assertEquals(1, facade.countSignatures()); }