void () { ComparisonFailureData notification = createNotification( new CustomComparisonFailure("message", "expected", "actual") ); Assert.assertNotNull(notification); Assert.assertEquals("expected", notification.getExpected()); Assert.assertEquals("actual", notification.getActual()); }