is Not Instance Of
Asserts the value is not an instance of the expected java class. Both assertThat("test").isNotInstanceOf(String::class) and assertThat("test").isNotInstanceOf(Any::class) fails.
See also
Asserts the value is not an instance of the expected kotlin class. Both assertThat("test").isNotInstanceOf<String>() and assertThat("test").isNotInstanceOf<String>() fail.
See also
Asserts the value is not an instance of the expected kotlin class. Both assertThat("test").isNotInstanceOf(String::class) and assertThat("test").isNotInstanceOf(Any::class) fail.