assertTrue(productType.getName().equals(convBackProdType.getName()));
assertTrue(productType.getDescription().equals(convBackProdType.getDescription()));
assertTrue(productType.getVersioner().equals(convBackProdType.getVersioner()));
assertTrue(productType.getProductRepositoryPath().equals(convBackProdType.getProductRepositoryPath()));
for (int i = 0; i < productType.getExtractors().size(); i++) {
ExtractorSpec spec1 = productType.getExtractors().get(i);
ExtractorSpec spec2 = convBackProdType.getExtractors().get(i);
assertTrue(spec1.getClassName().equals(spec2.getClassName()));
assertTrue(spec1.getConfiguration().equals(spec2.getConfiguration()));
}
for (int i = 0; i < productType.getHandlers().size(); i++) {
TypeHandler handler1 = productType.getHandlers().get(i);
TypeHandler handler2 = convBackProdType.getHandlers().get(i);
assertTrue(handler1.getClass().getCanonicalName().equals(handler2.getClass().getCanonicalName()));