void () { ComparisonFailureData notification = createNotification(""" Expected: is <2> but: was <1>"""); Assert.assertNotNull(notification); Assert.assertEquals("is <2>", notification.getExpected()); }