@Test
public void declareType() {

    KiePMMLDroolsType type = KiePMMLDescrTestUtils.getDroolsType();
    KiePMMLDescrTypesFactory.factory(builder).declareType(type);
    assertEquals(1, builder.getDescr().getTypeDeclarations().size());
    commonVerifyTypeDeclarationDescr(type, builder.getDescr().getTypeDeclarations().get(0));
}