@Test(dataProvider = "PropertiesCountProvider") public void testGetAllBuildProperties(final int SERVICE_PROPERTIES_COUNT, final int NON_SERVICE_PROPERTIES_COUNT) throws Exception { generateResourceContents(SERVICE_PROPERTIES_COUNT, NON_SERVICE_PROPERTIES_COUNT); List<BuildProperties> result = buildPropertiesReader.getAllBuildProperties(); Assert.assertEquals(result.size(), SERVICE_PROPERTIES_COUNT + NON_SERVICE_PROPERTIES_COUNT); assertAllPropertiesValid(result); }
public List<BuildProperties> getAllBuildProperties() { readAllBuildProperties(); return allBuildProperties; }
BuildPropertiesReader { public List<BuildProperties> getAllBuildProperties() { readAllBuildProperties(); return allBuildProperties; } }
BuildPropertiesReader { public List<BuildProperties> getAllBuildProperties() { readAllBuildProperties(); return allBuildProperties; } BuildPropertiesReader(String buildPropertiesFile); }
BuildPropertiesReader { public List<BuildProperties> getAllBuildProperties() { readAllBuildProperties(); return allBuildProperties; } BuildPropertiesReader(String buildPropertiesFile); BuildProperties getFirstServiceBuildProperties(); List<BuildProperties> getNonServiceBuildProperties(); List<BuildProperties> getAllBuildProperties(); void setResourceRetriever(ResourceRetriever resourcesRetriever); }
BuildPropertiesReader { public List<BuildProperties> getAllBuildProperties() { readAllBuildProperties(); return allBuildProperties; } BuildPropertiesReader(String buildPropertiesFile); BuildProperties getFirstServiceBuildProperties(); List<BuildProperties> getNonServiceBuildProperties(); List<BuildProperties> getAllBuildProperties(); void setResourceRetriever(ResourceRetriever resourcesRetriever);  }