@Test
public void testValidateOpearManifest() throws Exception {

    assertTrue("invalid manifest when null",
            OpearFile.validateOpearManifest(null).isFailure());
    assertTrue("invalid manifest when no bsn specified",
            OpearFile.validateOpearManifest(
                    new Manifest(new ByteArrayInputStream(new byte[0])))
                    .isFailure());
}