source: class RefocusForwarderTest {
  
  	@Mock private Provider<EntityManager> _emProviderMock;
  	@Mock private HistoryService _historyServiceMock;
  	@Mock private ObjectMapper _mapper;
  	private SystemMain system;
  	private SystemConfiguration _configuration;
  	private RefocusForwarder refocusForwarder;
  	private final Logger LOGGER;
  	private static final boolean mapToErrorLogging;
  
  	@Test
  	public void testRefocusForwarderSendSamples() {
  
target: 
          ResultListSupplier responseSupplier = new ResultListSupplier(new ArrayList<StubResult>(),
                  make200(10, 1),
                  refocusForwarder);
  
          refocusForwarder.setStubSender(responseSupplier);
          int num_notifications = 100;
  
  		History history = mock(History.class);
          enqueueSamples(num_notifications, history);
          waitUntilQueuedNotificationsAreProcessed(refocusForwarder);
  
          logForwarderStats();
          verifyProcessed(num_notifications, 0, num_notifications);
  	}
  
  }