@Test public void getStringReturnsFormString() throws Exception { final Map<String, String> testKVP = new HashMap<>(); final Form form = mockedForm(testKVP); testKVP.put(testKey, testString); classUnderTest = new RequestParametersForm(form); assertEquals(testString, classUnderTest.getString(testKey)); }
@Override public String getString(final String parameter) { return (String) getValue(parameter); }
RequestParametersForm extends RequestParameters { @Override public String getString(final String parameter) { return (String) getValue(parameter); } }
RequestParametersForm extends RequestParameters { @Override public String getString(final String parameter) { return (String) getValue(parameter); } RequestParametersForm(final Form form); }
RequestParametersForm extends RequestParameters { @Override public String getString(final String parameter) { return (String) getValue(parameter); } RequestParametersForm(final Form form); @Override String getString(final String parameter); @Override List<?> getList(final String parameter); @Override Object[] getArray(final String parameter); }
RequestParametersForm extends RequestParameters { @Override public String getString(final String parameter) { return (String) getValue(parameter); } RequestParametersForm(final Form form); @Override String getString(final String parameter); @Override List<?> getList(final String parameter); @Override Object[] getArray(final String parameter);  }