@Test
public void testOnBeforeScraping() throws Exception {

    expect(mockProvider.get()).andReturn(mockEventBus);
    mockEventBus.register(mockHandler);
    expectLastCall();
    mockRegistry.bind(mockHarvester, mockEventBus);
    expectLastCall();
    EasyMockUnitils.replay();
    holder.register(mockHandler);
    holder.onBeforeScraping(mockHarvester);
}