### Question:
ValueArgumentConverter extends ModelBasedArgumentConverter { @Override public boolean canConvert(Object argument) { return argument instanceof ValueArgument; }  @Override boolean canConvert(Object argument); @Override Object convert(Object argument);  }### Answer:
@Test void canConvertValueArgument() { final ValueArgumentConverter converter = new ValueArgumentConverter(); assertTrue(converter.canConvert(new ValueArgument(0, 0))); }
@Test void cannotConvertNull() { final ValueArgumentConverter converter = new ValueArgumentConverter(); assertFalse(converter.canConvert(null)); }
@Test void cannotConvertOtherClass() { final ValueArgumentConverter converter = new ValueArgumentConverter(); assertFalse(converter.canConvert("test")); }