@Test
public void run() throws Exception {

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