@Test
public void runIfStoppedStatus() throws Exception {

    expect(mockStatusHolder.getStatus())
        .andReturn(ScraperState.STOPPED);
    EasyMockUnitils.replay();
    final Variable result = processor.run(mockContext);
    assertNotNull("Result variable is null.", result);
    assertEquals("Unexpected variable.", result, EmptyVariable.INSTANCE);
}