@Test public void getBooleanFalseShouldTryToLookUpInMapAndReturnDefault(){ assertEquals("false", toTest.getBooleanFalse()); verify(config).containsKey(CRestConfig.CREST_BOOLEAN_FALSE); }
public String getBooleanFalse(){ return get(CREST_BOOLEAN_FALSE, "false"); }
DefaultCRestConfig implements CRestConfig { public String getBooleanFalse(){ return get(CREST_BOOLEAN_FALSE, "false"); } }
DefaultCRestConfig implements CRestConfig { public String getBooleanFalse(){ return get(CREST_BOOLEAN_FALSE, "false"); } DefaultCRestConfig(Map<String, Object> m); }
DefaultCRestConfig implements CRestConfig { public String getBooleanFalse(){ return get(CREST_BOOLEAN_FALSE, "false"); } DefaultCRestConfig(Map<String, Object> m); CRestConfig merge(Map<String, Object> m); T get(String key); T get(String propName, T defaultIfNotFound); T get(Class<?> key); T get(Class<?> key, T defaultIfNotFound); int getMaxAttempts(); String getDateFormat(); String getBooleanTrue(); String getBooleanFalse(); int getConcurrencyLevel(); }
DefaultCRestConfig implements CRestConfig { public String getBooleanFalse(){ return get(CREST_BOOLEAN_FALSE, "false"); } DefaultCRestConfig(Map<String, Object> m); CRestConfig merge(Map<String, Object> m); T get(String key); T get(String propName, T defaultIfNotFound); T get(Class<?> key); T get(Class<?> key, T defaultIfNotFound); int getMaxAttempts(); String getDateFormat(); String getBooleanTrue(); String getBooleanFalse(); int getConcurrencyLevel();  }