/**
  * Tests builder.addInstanceOf with valid data
  *
  * @param className name of class name to add
  */
 @Test(dataProvider = "testBuilderAddInstanceOf")
 public void testBuilderAddInstanceOf(String className) {
   ClassPropertyDefinition.Builder localBuilder =
       ClassPropertyDefinition.createBuilder(RootCfgDefn.getInstance(), "test-property");
   localBuilder.addInstanceOf(className);
   ClassPropertyDefinition cpd = localBuilder.getInstance();
   List<String> instances = cpd.getInstanceOfInterface();
   assertTrue(instances.contains(className));
 }
 @Test(dataProvider = "testLoadClassData")
 public <T> void testLoadClass(
     String interfaceName, String loadClassName, Class<T> instanceOfClass, Class expectedClass) {
   ClassPropertyDefinition.Builder localBuilder =
       ClassPropertyDefinition.createBuilder(RootCfgDefn.getInstance(), "test-property");
   localBuilder.addInstanceOf(interfaceName);
   ClassPropertyDefinition cpd = localBuilder.getInstance();
   Class clazz = cpd.loadClass(loadClassName, instanceOfClass);
   assertEquals(clazz, expectedClass);
 }