Converts TiPresenterTest and TiMockPresenter to Kotlin and MockK. This builds up on #174.
One of the old Java tests, which gives only a warning in Java, doesn't compile in Kotlin because of a null argument being passed as a @NonNull method parameter. As there will still be library consumers from Java, I have left the test in an admittedly weirdly named TiPresenterTestJava.java file (to make it easier to distinguish the files in the IDE).
Converts
TiPresenterTest
andTiMockPresenter
to Kotlin and MockK. This builds up on #174.One of the old Java tests, which gives only a warning in Java, doesn't compile in Kotlin because of a
null
argument being passed as a@NonNull
method parameter. As there will still be library consumers from Java, I have left the test in an admittedly weirdly namedTiPresenterTestJava.java
file (to make it easier to distinguish the files in the IDE).Please merge after #174.