*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
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))
}