@Test public void handleInterfaceAnnotationShouldSetParamsListSeparator() throws Exception { when(mockAnnotation.value()).thenReturn("a"); toTest.handleInterfaceAnnotation(mockAnnotation, mockInterfaceConfigBuilder); verify(mockAnnotation).value(); verify(mockInterfaceConfigBuilder).setParamsListSeparator("a"); }
@Override public void handleInterfaceAnnotation(ListSeparator annotation, InterfaceConfigBuilder builder) { builder.setParamsListSeparator(ph(annotation.value())); }
ListSeparatorAnnotationHandler extends StringBasedAnnotationHandler<ListSeparator> { @Override public void handleInterfaceAnnotation(ListSeparator annotation, InterfaceConfigBuilder builder) { builder.setParamsListSeparator(ph(annotation.value())); } }
ListSeparatorAnnotationHandler extends StringBasedAnnotationHandler<ListSeparator> { @Override public void handleInterfaceAnnotation(ListSeparator annotation, InterfaceConfigBuilder builder) { builder.setParamsListSeparator(ph(annotation.value())); } ListSeparatorAnnotationHandler(CRestConfig crestConfig); }
ListSeparatorAnnotationHandler extends StringBasedAnnotationHandler<ListSeparator> { @Override public void handleInterfaceAnnotation(ListSeparator annotation, InterfaceConfigBuilder 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 handleInterfaceAnnotation(ListSeparator annotation, InterfaceConfigBuilder 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);  }