### Question:
ObservationParameters extends MultiValueRequestParameters { public void addResultTime(String resultTime) { addNonEmpty(INSERT_OBSERVATION_RESULT_TIME, resultTime); } protected  ObservationParameters(QName type); abstract boolean isValid(); QName getType(); void addSamplingTime(String samplingTime); void addResultTime(String resultTime); void addPhenomenonTime(String phenomenonTime); void addOmParameter(String... omParameterXML); void addExtension(String... anyXML); void addFoiId(String foiId); void addNewFoiId(String foiId); void addNewFoiName(String foiName); void addFoiDescription(String foiDescription); void addFoiPosition(String foiPosition); void addFoiSampleFeature(String foiSampledFeatureIdentifier); void addSrsPosition(String srsPosition); void addObservedProperty(String observedProperty); void addProcedure(String procedureId);  }### Answer:
@Test public void shouldAddResultTime() { final ObservationParameterSeam obsParams = new ObservationParameterSeam(null); final String resultTime = "2013-01-02T03:04:05+06:00"; obsParams.addResultTime(resultTime); assertThat(obsParams.getSingleValue(ISOSRequestBuilder.INSERT_OBSERVATION_RESULT_TIME),is(resultTime)); }