Skip to content

Instantly share code, notes, and snippets.

Created June 19, 2021 10:11
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