Unit isn’t quite the same, because it says that you never have a fixture. You might want a fixture that in some tests is present and others absent. I know it was in the back of my mind when I made F : Any, but I can’t remember why I did that. Let me see if it’s still necessary.
dmcg
10/20/2018, 8:43 AM
Oh boy, world of pain. The reason for Any was that I take the fixture type to check that we have in fact set a fixture. When fixture is null, then fixtureType.isInstance(it.lastValue) fails, so the check things that there is no fixture set