attempt("SYMBOL Ends with ${partial", "${symbol} Ends with ${partial");
}
public void testMissingSymbol()
{
ErrorHandler eh = (ErrorHandler) newMock(ErrorHandler.class);
Location l = newLocation();
MockControl control = newControl(SymbolSource.class);
SymbolSource source = (SymbolSource) control.getMock();
// Training
source.valueForSymbol("symbol");
control.setReturnValue(null);
eh.error(
LogFactory.getLog(SymbolExpanderImpl.class),
XmlImplMessages.noSuchSymbol("symbol"),
l,
null);