verifies that a stopped clock does not emit any tick events . concode_field_sep ClockModel model concode_field_sep ClockModel getModel concode_elem_sep void testRunning concode_elem_sep void setModel
void function ( ) { final AtomicInteger loc0 = new AtomicInteger ( 0 ) ; model . setOnTickListener ( loc0 :: incrementAndGet ) ; Thread . sleep ( 5500 ) ; assertEquals ( 0 , loc0 . get ( ) ) ; }