Skip to content

Commit

Permalink
Fix for mockito test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkranzler5 committed Dec 14, 2023
1 parent 539d959 commit cbacdba
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ class MockitoFormulaTest {
assertThat(formula.type()).isEqualTo(MyFormula::class)
}

class MyFormula : StatelessFormula<Unit, Unit>() {
class MyFormula : Formula<Unit, Unit, Unit>() {
override fun initialState(input: Unit) = Unit

override fun Snapshot<Unit, Unit>.evaluate(): Evaluation<Unit> {
return Evaluation(Unit)
}
Expand Down

0 comments on commit cbacdba

Please sign in to comment.