UrlExecutionProcessorStrategy extends ProcessorStrategy { @Override protected Url getObjectToRun() { return (Url) objectToRunWrapper.getObjectToRun(); } UrlExecutionProcessorStrategy();   }
@Test public void getObjectToRun_checkIfMethodReturnCorrectObject_expectUrl() { assertEquals(url.get(), urlExecutionProcessorStrategy.getObjectToRun()); }