- notificationManager.addNotification(object : AbstractNotification("first-start-notification") {
- override fun render(writer: Writer?) = Unit
- })
- eventBus.post(NewPostFoundEvent(remotePost))
- assertThat(notificationManager.notifications, not(hasItem(notification)))
+ remotePostHandlerTest.firstStart()
+ remotePostHandlerTest.sendEvent(NewPostFoundEvent(remotePost))
+ assertThat(remotePostHandlerTest.notifications, not(hasItem(notification)))