@Test
public void resume() throws Exception {

    ReflectionUtils.setFieldValue(holder,
            EventBasedStatusHolder.class.getDeclaredField("status"),
            ScraperState.PAUSED);
    assertEquals("Unexpected status.", holder.getStatus(),
            ScraperState.PAUSED);
    //event is unneeded in unit test
    holder.resume(null);
    assertEquals("Unexpected status.", holder.getStatus(),
            ScraperState.RUNNING);
}