### Question:
GetCapabilitiesParameters extends MultiValueRequestParameters { public GetCapabilitiesParameters addAcceptedFormats(final String... formats) { standardParameters.addParameterStringValues(ACCEPT_FORMAT.name(), formats); return this; } GetCapabilitiesParameters(final String service); GetCapabilitiesParameters setUpdateSequence(final String updateSequence); GetCapabilitiesParameters addAcceptVersions(final String... acceptVersions); GetCapabilitiesParameters addSections(final GetCapabilitiesSection... sections); GetCapabilitiesParameters addAcceptedFormats(final String... formats); GetCapabilitiesParameters addNonStandardParameter(final String parameter, final String value); RequestParameters getStandardParameters(); RequestParameters getNonStandardParameters();  }### Answer:
@Test public void shouldHoldAcceptFormatsAsStandardParameters() { requestParameters.addAcceptedFormats("text/xml", "application/json"); Collection<String> values = getValuesForStandardParameter(ACCEPT_FORMAT); Iterator<String> iterator = values.iterator(); assertThat(iterator.next(), is("text/xml")); assertThat(iterator.next(), is("application/json")); }