### Question:
StartTimeoutParameterConverter extends IntegerParameterConverter { @Override public Integer convert(Object value) { int startTimeout = super.convert(value); if (startTimeout < 0) { throw new SLException(Messages.ERROR_PARAMETER_1_MUST_NOT_BE_NEGATIVE, startTimeout, Variables.START_TIMEOUT.getName()); } return startTimeout; }  @Override Integer convert(Object value);  }### Answer:
@Test void testConvertWithInvalidValueType() { assertThrows(SLException.class, () -> new StartTimeoutParameterConverter().convert(false)); }
@Test void testConvertWithInvalidValue() { assertThrows(SLException.class, () -> new StartTimeoutParameterConverter().convert(-1000)); }
@Test void testConvert() { int startTimeout = (int) new StartTimeoutParameterConverter().convert("1000"); assertEquals(1000, startTimeout); }