### Question:
ObservationParameters extends MultiValueRequestParameters { public void addPhenomenonTime(String phenomenonTime) { addNonEmpty(INSERT_OBSERVATION_PHENOMENON_TIME, phenomenonTime); } 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 shouldAddPhenomenonTime() { final ObservationParameterSeam obsParams = new ObservationParameterSeam(null); final String phenTime = "2013-01-02T03:04:05+06:00"; obsParams.addPhenomenonTime(phenTime); assertThat(obsParams.getSingleValue(ISOSRequestBuilder.INSERT_OBSERVATION_PHENOMENON_TIME),is(phenTime)); }