### Question:
DescribeSensorParameters extends MimetypeAwareRequestParameters { @Override public boolean isValid() { final boolean invalidProcedureValue = isEmptyValue(PROCEDURE_PARAMETER); final boolean invalidOutputFormatValue = isEmptyValue(OUTPUT_FORMAT_PARAMETER); return ! (invalidProcedureValue || invalidOutputFormatValue); } DescribeSensorParameters(final String procedure);  DescribeSensorParameters(final String procedure, final String outputFormat); @Override boolean isValid();  }### Answer:
@Test public void shouldApplyMandatoryParametersWithAllConstructors() { String procedure = parameterAssembly.getSingleValue(PROCEDURE_PARAMETER); String outputFormat = parameterAssembly.getSingleValue(OUTPUT_FORMAT_PARAMETER); assertEquals(SENSOR_ID, procedure); assertEquals(OUTPUT_FORMAT_SENSORML, outputFormat); assertThat(parameterAssembly.isValid(),is(true)); parameterAssembly = new DescribeSensorParameters(SENSOR_ID); procedure = parameterAssembly.getSingleValue(PROCEDURE_PARAMETER); outputFormat = parameterAssembly.getSingleValue(OUTPUT_FORMAT_PARAMETER); assertEquals(SENSOR_ID, procedure); assertEquals(OUTPUT_FORMAT_SENSORML, outputFormat); assertThat(parameterAssembly.isValid(),is(true)); }