示例#1
0
 private <T> void setupInboundConverter(Object input, Class<? extends T> expected, T output) {
   when(converter.toJava(input, (Type) expected)).thenReturn(output);
 }
示例#2
0
 private void setupOutboundConverter(Object input, Object output) {
   when(converter.fromJava(input)).thenReturn(output);
 }