@Test public void getObject() throws SAXException, ParseException { when( testAttributes.getValue( anyString(), eq( "datarow-name" ) ) ).thenReturn( "TEST_DATAROW_NAME" ); variableReadHandler.startParsing( testAttributes ); FormulaParameter actualResult = variableReadHandler.getObject(); assertNotNull( actualResult ); assertEquals( "=[TEST_DATAROW_NAME]", actualResult.getFormula() ); assertEquals( "TEST_DATAROW_NAME", actualResult.getName() ); }
public FormulaParameter getObject() throws SAXException { return new FormulaParameter( variableName, formula ); }
VariableReadHandler extends AbstractXmlReadHandler { public FormulaParameter getObject() throws SAXException { return new FormulaParameter( variableName, formula ); } }
VariableReadHandler extends AbstractXmlReadHandler { public FormulaParameter getObject() throws SAXException { return new FormulaParameter( variableName, formula ); } VariableReadHandler(); }
VariableReadHandler extends AbstractXmlReadHandler { public FormulaParameter getObject() throws SAXException { return new FormulaParameter( variableName, formula ); } VariableReadHandler(); FormulaParameter getObject(); }
VariableReadHandler extends AbstractXmlReadHandler { public FormulaParameter getObject() throws SAXException { return new FormulaParameter( variableName, formula ); } VariableReadHandler(); FormulaParameter getObject();  }