1 package net.pterodactylus.rhynodge
3 import net.pterodactylus.rhynodge.output.Output
4 import net.pterodactylus.rhynodge.states.StateManagerTest.TestState
6 fun testQuery(state: State = TestState()): Query = TestQuery(state)
7 fun testAction(): Action = TestAction()
9 class TestQuery(private val state: State) : Query {
10 override fun state(): State = state
13 class TestAction : Action {
14 override fun execute(output: Output?) = Unit