@Test
public void getRemainingScans() {

    TestObserver<Integer> testObserver = localOcrScansTracker.getRemainingScansStream().test();
    assertEquals(0, localOcrScansTracker.getRemainingScans());
    testObserver.assertValues(0);
    testObserver.assertNotComplete();
    testObserver.assertNoErrors();
}