@Test void testNoValidationWhenNullParameters() { DecoratorParameters parameters = mock(DecoratorParameters.class, RETURNS_DEEP_STUBS); decorator.add(parameters); verifyZeroInteractions(jsonValidator); }
@Override public void add(DecoratorParameters decoratorParameters) { validateParameters(decoratorParameters); delegate().add(decoratorParameters); }
DecoratorParametersRepositoryDecorator extends AbstractRepositoryDecorator<DecoratorParameters> { @Override public void add(DecoratorParameters decoratorParameters) { validateParameters(decoratorParameters); delegate().add(decoratorParameters); } }
DecoratorParametersRepositoryDecorator extends AbstractRepositoryDecorator<DecoratorParameters> { @Override public void add(DecoratorParameters decoratorParameters) { validateParameters(decoratorParameters); delegate().add(decoratorParameters); } DecoratorParametersRepositoryDecorator(
      Repository<DecoratorParameters> delegateRepository, JsonValidator jsonValidator); }
DecoratorParametersRepositoryDecorator extends AbstractRepositoryDecorator<DecoratorParameters> { @Override public void add(DecoratorParameters decoratorParameters) { validateParameters(decoratorParameters); delegate().add(decoratorParameters); } DecoratorParametersRepositoryDecorator(
      Repository<DecoratorParameters> delegateRepository, JsonValidator jsonValidator); @Override void update(DecoratorParameters decoratorParameters); @Override void update(Stream<DecoratorParameters> decoratorParameters); @Override void add(DecoratorParameters decoratorParameters); @Override Integer add(Stream<DecoratorParameters> decoratorParameters); }
DecoratorParametersRepositoryDecorator extends AbstractRepositoryDecorator<DecoratorParameters> { @Override public void add(DecoratorParameters decoratorParameters) { validateParameters(decoratorParameters); delegate().add(decoratorParameters); } DecoratorParametersRepositoryDecorator(
      Repository<DecoratorParameters> delegateRepository, JsonValidator jsonValidator); @Override void update(DecoratorParameters decoratorParameters); @Override void update(Stream<DecoratorParameters> decoratorParameters); @Override void add(DecoratorParameters decoratorParameters); @Override Integer add(Stream<DecoratorParameters> decoratorParameters);  }