}
@Test
public void testIdentifyContainerUsingCompObj() throws IOException {
ContainerSignature wordSig = new ContainerSignature();
wordSig.setId(100);
wordSig.setDescription("Word 97 OLE2");
ContainerFile wordDocument = new ContainerFile();
wordDocument.setPath("WordDocument");
ContainerFile wordCompObj = new ContainerFile();
wordCompObj.setPath("CompObj");
//wordCompObj.setTextSignature(".*Word.Document.8.*");
wordSig.setFiles(Arrays.asList(new ContainerFile[] {wordDocument, wordCompObj}));
ContainerSignature excelSig = new ContainerSignature();
excelSig.setId(100);
excelSig.setDescription("Word 97 OLE2");
ContainerFile workbook = new ContainerFile();
workbook.setPath("Workbook");
ContainerFile excelCompObj = new ContainerFile();
excelCompObj.setPath("CompObj");
//excelCompObj.setTextSignature(".*Word.Document.8.*");
excelSig.setFiles(Arrays.asList(new ContainerFile[] {workbook, excelCompObj}));
Map<Integer, List<FileFormatMapping>> formats = new HashMap<Integer, List<FileFormatMapping>>();
FileFormatMapping fileFormat = new FileFormatMapping();
fileFormat.setPuid("fmt/666");
List<FileFormatMapping> formatMapping = new ArrayList<FileFormatMapping>();