@Test
@SuppressWarnings("static-access")
public void testDigit0() throws Exception {

    gen.connect(det);
    gen.start();
    det.start();
    
    Thread.currentThread().sleep(2000);
    gen.stop();
    det.stop();
    
    Thread.currentThread().sleep(1000);        
    assertTrue(verify(s, new int[]{941, 1336}));
}