src/test/java/com/stijndepestel/geminio/ReplayTest.java
/**
     * Test to check if false is returned when stopping an already stopped
     * replay.
     */
Test to check if false is returned when stopping an already stopped
replay.
Test to check if false is returned when stopping an already stopped replay .
@Test
    public void stopReplayOnStoppedStateTest() {
        this.replay.addReplayListener(new ReplayListener() {
            @Override
            public void replayEnded(final ReplayEvent event) {
                Assert.assertFalse("False when stopping on STOPPED state.",
                        ReplayTest.this.replay.stopReplay());
            }
            @Override
            public void replayFailed(final ReplayEvent event) {
            }
        });
        this.replay.load().startReplay();
    }
@ Test public void stopReplayOnStoppedStateTest ( ) { this . replay . addReplayListener ( new ReplayListener ( ) { @ Override public void replayEnded ( final ReplayEvent event ) { Assert . assertFalse ( "False when stopping on STOPPED state." , ReplayTest . this . replay . stopReplay ( ) ) ; } @ Override public void replayFailed ( final ReplayEvent event ) { } } ) ; this . replay . load ( ) . startReplay ( ) ; }
Test to check if false is returned when stopping an already stopped
 replay.
Test to check if false is returned when stopping an already stopped replay .
// ignore