import net.pterodactylus.util.notify.*
import org.hamcrest.MatcherAssert.*
import org.hamcrest.Matchers.*
import net.pterodactylus.util.notify.*
import org.hamcrest.MatcherAssert.*
import org.hamcrest.Matchers.*
private val eventBus = EventBus()
private val notificationManager = NotificationManager()
private val markedPosts = mutableListOf<Post>()
private val eventBus = EventBus()
private val notificationManager = NotificationManager()
private val markedPosts = mutableListOf<Post>()
eventBus.post(NewPostFoundEvent(post))
assertThat(markedPosts, contains(post))
}
eventBus.post(NewPostFoundEvent(post))
assertThat(markedPosts, contains(post))
}