Skip to content

Instantly share code, notes, and snippets.

@le0nidas
Created June 19, 2021 10:11
Embed
What would you like to do?
@Test fun `a task that is not assigned is invalid`() {
val task = Task(AssignedTo.Nobody)
val taskChecker = TaskChecker {} // <-- check with seam
val actual = taskChecker.check(task)
assertThat(actual, equalTo(Invalid))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment