@Test public void handleMethodsAnnotationShouldSetListSeparator() throws Exception { when(mockAnnotation.value()).thenReturn("a"); toTest.handleMethodAnnotation(mockAnnotation, mockMethodConfigBuilder); verify(mockAnnotation).value(); verify(mockMethodConfigBuilder).setParamsListSeparator("a"); }
@Override public void handleMethodAnnotation(ListSeparator annotation, MethodConfigBuilder builder) { builder.setParamsListSeparator(ph(annotation.value())); }
ListSeparatorAnnotationHandler extends StringBasedAnnotationHandler<ListSeparator> { @Override public void handleMethodAnnotation(ListSeparator annotation, MethodConfigBuilder builder) { builder.setParamsListSeparator(ph(annotation.value())); } }
ListSeparatorAnnotationHandler extends StringBasedAnnotationHandler<ListSeparator> { @Override public void handleMethodAnnotation(ListSeparator annotation, MethodConfigBuilder builder) { builder.setParamsListSeparator(ph(annotation.value())); } ListSeparatorAnnotationHandler(CRestConfig crestConfig); }
ListSeparatorAnnotationHandler extends StringBasedAnnotationHandler<ListSeparator> { @Override public void handleMethodAnnotation(ListSeparator annotation, MethodConfigBuilder builder) { builder.setParamsListSeparator(ph(annotation.value())); } ListSeparatorAnnotationHandler(CRestConfig crestConfig); @Override void handleInterfaceAnnotation(ListSeparator annotation, InterfaceConfigBuilder builder); @Override void handleMethodAnnotation(ListSeparator annotation, MethodConfigBuilder builder); @Override void handleParameterAnnotation(ListSeparator annotation, ParamConfigBuilder builder); }
ListSeparatorAnnotationHandler extends StringBasedAnnotationHandler<ListSeparator> { @Override public void handleMethodAnnotation(ListSeparator annotation, MethodConfigBuilder builder) { builder.setParamsListSeparator(ph(annotation.value())); } ListSeparatorAnnotationHandler(CRestConfig crestConfig); @Override void handleInterfaceAnnotation(ListSeparator annotation, InterfaceConfigBuilder builder); @Override void handleMethodAnnotation(ListSeparator annotation, MethodConfigBuilder builder); @Override void handleParameterAnnotation(ListSeparator annotation, ParamConfigBuilder builder);  }