@Test public void testAddProcessorShouldAddProcessorWhenListDoesNotContainProcessor() { processors.remove(0); int initialSize = processors.size(); underTest.addProcessor(responseProcessor); assertEquals(processors.size(), initialSize + 1); }
public void addProcessor(final ProcessorBase processor) { if (!processors.contains(processor)) { processors.add(processor); } }
WilmaHttpResponseProcessor { public void addProcessor(final ProcessorBase processor) { if (!processors.contains(processor)) { processors.add(processor); } } }
WilmaHttpResponseProcessor { public void addProcessor(final ProcessorBase processor) { if (!processors.contains(processor)) { processors.add(processor); } }  }
WilmaHttpResponseProcessor { public void addProcessor(final ProcessorBase processor) { if (!processors.contains(processor)) { processors.add(processor); } }  synchronized void processResponse(final WilmaHttpResponse response); void disableProcessor(final ProcessorBase processor); void enableProcessor(final ProcessorBase processor); boolean isProcessorEnabled(final ProcessorBase processor); void addProcessor(final ProcessorBase processor); boolean containsProcessor(final WilmaEntityProcessorInterface processor); void setProcessors(final List<ProcessorBase> processors); }
WilmaHttpResponseProcessor { public void addProcessor(final ProcessorBase processor) { if (!processors.contains(processor)) { processors.add(processor); } }  synchronized void processResponse(final WilmaHttpResponse response); void disableProcessor(final ProcessorBase processor); void enableProcessor(final ProcessorBase processor); boolean isProcessorEnabled(final ProcessorBase processor); void addProcessor(final ProcessorBase processor); boolean containsProcessor(final WilmaEntityProcessorInterface processor); void setProcessors(final List<ProcessorBase> processors);  }