- Id<DocumentType> id1 = config.documentTypeConfig().add(type1);
-
- Id<DocumentType> id2 = config.documentTypeConfig().add(type2);
- assertFalse(id1.equals(id2));
-
- assertEquals(2, config.documentTypeConfig().map().size());
- assertTrue(config.documentTypeConfig().map().get(id1) instanceof RobustDocumentType);