@Test public void get_null() { assertNull(toTest.getPropertyValue(null)); }
public String getPropertyValue(final Property property) { for (int i = providerChain.size() - 1; i >= 0; i--) { final ValueProvider provider = providerChain.get(i); final String value = provider.getPropertyValue(property); if (value != null) { return value; } } return null; }
Config implements ValueProvider { public String getPropertyValue(final Property property) { for (int i = providerChain.size() - 1; i >= 0; i--) { final ValueProvider provider = providerChain.get(i); final String value = provider.getPropertyValue(property); if (value != null) { return value; } } return null; } }
Config implements ValueProvider { public String getPropertyValue(final Property property) { for (int i = providerChain.size() - 1; i >= 0; i--) { final ValueProvider provider = providerChain.get(i); final String value = provider.getPropertyValue(property); if (value != null) { return value; } } return null; } private  Config(); }
Config implements ValueProvider { public String getPropertyValue(final Property property) { for (int i = providerChain.size() - 1; i >= 0; i--) { final ValueProvider provider = providerChain.get(i); final String value = provider.getPropertyValue(property); if (value != null) { return value; } } return null; } private  Config(); static Config getInstance(); void setContext(final Context context); String getPropertyValue(final Property property); Integer getPropertyValueAsInt(final Property property); }
Config implements ValueProvider { public String getPropertyValue(final Property property) { for (int i = providerChain.size() - 1; i >= 0; i--) { final ValueProvider provider = providerChain.get(i); final String value = provider.getPropertyValue(property); if (value != null) { return value; } } return null; } private  Config(); static Config getInstance(); void setContext(final Context context); String getPropertyValue(final Property property); Integer getPropertyValueAsInt(final Property property);  }