src/test/java/com/stijndepestel/geminio/ReplayTest.java
/**
     * Test that an exception is thrown when trying to load with an invalid
     * state.
     */
Test that an exception is thrown when trying to load with an invalid
state.
Test that an exception is thrown when trying to load with an invalid state .
@Test(expected = IllegalStateException.class)
    public void exceptionOnLoadWithInvalidStateTest() {
        this.replay.load().startReplay();
        this.replay.load();
    }
@ Test ( expected = IllegalStateException . class ) public void exceptionOnLoadWithInvalidStateTest ( ) { this . replay . load ( ) . startReplay ( ) ; this . replay . load ( ) ; }
Test that an exception is thrown when trying to load with an invalid
 state.
Test that an exception is thrown when trying to load with an invalid state .