### Question:
DataReader { public String getBaseClassName() { CodeGeneratorLoggerFactory.getLogger().debug( String.format("Reading base class name from data file [%s]", fileName)); String baseClass = reader.getBaseClassName(); if (baseClass == null) { String path = new File(fileName).getAbsolutePath(); throw new IllegalArgumentException("Missing base class details in Data file :" + path); } return baseClass; } DataReader(String fileName); String getBaseClassName(); TestPlatform platform(); List<String> getKeys();  }### Answer:
@Test public void getBaseClassV2() throws Exception { DataReader r = new DataReader(YAML_V2); String baseClass = r.getBaseClassName(); assertEquals(baseClass, "com.paypal.selion.testcomponents.BasicPageImpl"); }