### Question:
ValueArgumentConverter extends ModelBasedArgumentConverter { @Override public Object convert(Object argument) { final ValueArgument valueArgument = (ValueArgument) argument; return modelConverter.convertValue(valueArgument.getParameter(), valueArgument.getValue()); }  @Override boolean canConvert(Object argument); @Override Object convert(Object argument);  }### Answer:
@Test void convertValue() { final Value resolvedValue = Value.value(0, 1); final ModelConverter modelConverter = Mockito.mock(ModelConverter.class); when(modelConverter.convertValue(anyInt(), anyInt())).thenReturn(resolvedValue); final ValueArgumentConverter converter = new ValueArgumentConverter(); converter.initialize(modelConverter); assertEquals(resolvedValue, converter.convert(new ValueArgument(0, 0))); }