src/test/java/com/stijndepestel/geminio/CaptureTest.java
/**
     * Test to see if persisting is rejected on invalid capturing state.
     */
Test to see if persisting is rejected on invalid capturing state.
Test to see if persisting is rejected on invalid capturing state .
@Test(expected = IllegalStateException.class)
    public void exceptionOnPersistingOnInvalidCapturingStateTest() {
        this.capture.startCapture();
        this.capture.saveEvents();
    }
@ Test ( expected = IllegalStateException . class ) public void exceptionOnPersistingOnInvalidCapturingStateTest ( ) { this . capture . startCapture ( ) ; this . capture . saveEvents ( ) ; }
Test to see if persisting is rejected on invalid capturing state.
Test to see if persisting is rejected on invalid capturing state .