@Test public void testLookupVariable() { String result = parser.lookupVariable( "test_name" ); assertThat( result, is( equalTo( "?" ) ) ); assertThat( parser.getFields(), is( arrayContaining( "test_name" ) ) ); }
protected String lookupVariable( final String name ) { fields.add( name ); return "?"; }
SQLParameterLookupParser extends PropertyLookupParser { protected String lookupVariable( final String name ) { fields.add( name ); return "?"; } }
SQLParameterLookupParser extends PropertyLookupParser { protected String lookupVariable( final String name ) { fields.add( name ); return "?"; } SQLParameterLookupParser( final boolean expandArray ); }
SQLParameterLookupParser extends PropertyLookupParser { protected String lookupVariable( final String name ) { fields.add( name ); return "?"; } SQLParameterLookupParser( final boolean expandArray ); String[] getFields(); boolean isExpandArray(); }
SQLParameterLookupParser extends PropertyLookupParser { protected String lookupVariable( final String name ) { fields.add( name ); return "?"; } SQLParameterLookupParser( final boolean expandArray ); String[] getFields(); boolean isExpandArray();  }