src/test/java/com/stijndepestel/geminio/CaptureTest.java
/**
     * Test to see if a captured event is serialized and stored.
     *
     */
Test to see if a captured event is serialized and stored.
Test to see if a captured event is serialized and stored .
@Test
    public void eventsCapturedTest() {
        this.capture.startCapture();
        Assert.assertEquals("No events should have been captured yet.", 0,
                this.capture.getNumberOfCapturedEvents());
        this.capture.capture(new TestEvent());
        Assert.assertEquals("One event should have been captured.", 1,
                this.capture.getNumberOfCapturedEvents());
    }
@ Test public void eventsCapturedTest ( ) { this . capture . startCapture ( ) ; Assert . assertEquals ( "No events should have been captured yet." , 0 , this . capture . getNumberOfCapturedEvents ( ) ) ; this . capture . capture ( new TestEvent ( ) ) ; Assert . assertEquals ( "One event should have been captured." , 1 , this . capture . getNumberOfCapturedEvents ( ) ) ; }
Test to see if a captured event is serialized and stored.
Test to see if a captured event is serialized and stored .