TCK tests should be changed to support JUnit assertions. I might suggest to migrate to JUnit 5 and use Hamcrest assertions such as `assertThat`.