I guess this works for me: ``` @Test fun `e...
# test
a
I guess this works for me:
Copy code
@Test
    fun `error not implemented should fail`() {
        val errors = trackPluginErrors()
        Completable.error(Throwable()).subscribe()
        assertThat(errors).isEmpty()
    }

    private fun trackPluginErrors(): List<Throwable> {
        val list = Collections.synchronizedList(ArrayList<Throwable>())
        RxJavaPlugins.setErrorHandler { list += it }
        return list
    }