src/test/java/com/stijndepestel/geminio/CaptureTest.java
/**
     * Test to see if a captured event is rejected if the capture has already
     * been stopped.
     */
Test to see if a captured event is rejected if the capture has already
been stopped.
Test to see if a captured event is rejected if the capture has already been stopped .
@Test(expected = IllegalStateException.class)
    public void exceptionOnCaptureOnInvalidStateWhenStoppedTest() {
        this.capture.startCapture();
        this.capture.stopCapture();
        this.capture.capture(new TestEvent());
    }
@ Test ( expected = IllegalStateException . class ) public void exceptionOnCaptureOnInvalidStateWhenStoppedTest ( ) { this . capture . startCapture ( ) ; this . capture . stopCapture ( ) ; this . capture . capture ( new TestEvent ( ) ) ; }
Test to see if a captured event is rejected if the capture has already
 been stopped.
Test to see if a captured event is rejected if the capture has already been stopped .