@Test public void case_insensitive() { assertEquals(provider.valueForSymbol("FRED"), "flintstone"); }
public String valueForSymbol(String symbolName) { if (this.symbolName.equalsIgnoreCase(symbolName)) return value; return null; }
SingleKeySymbolProvider implements SymbolProvider { public String valueForSymbol(String symbolName) { if (this.symbolName.equalsIgnoreCase(symbolName)) return value; return null; } }
SingleKeySymbolProvider implements SymbolProvider { public String valueForSymbol(String symbolName) { if (this.symbolName.equalsIgnoreCase(symbolName)) return value; return null; } SingleKeySymbolProvider(final String symbolName, final String value); }
SingleKeySymbolProvider implements SymbolProvider { public String valueForSymbol(String symbolName) { if (this.symbolName.equalsIgnoreCase(symbolName)) return value; return null; } SingleKeySymbolProvider(final String symbolName, final String value); String valueForSymbol(String symbolName); }
SingleKeySymbolProvider implements SymbolProvider { public String valueForSymbol(String symbolName) { if (this.symbolName.equalsIgnoreCase(symbolName)) return value; return null; } SingleKeySymbolProvider(final String symbolName, final String value); String valueForSymbol(String symbolName);  }