@Test
public void testObservableExecutionHookViaProperty() {

    try {
        RxJavaPlugins p = new RxJavaPlugins();
        String fullClass = getFullClassNameForTestClass(RxJavaObservableExecutionHookTestImpl.class);
        System.setProperty("rxjava.plugin.RxJavaObservableExecutionHook.implementation", fullClass);
        RxJavaObservableExecutionHook impl = p.getObservableExecutionHook();
        assertTrue(impl instanceof RxJavaObservableExecutionHookTestImpl);
    } finally {
        System.clearProperty("rxjava.plugin.RxJavaObservableExecutionHook.implementation");
    }
}