    @Test(expected = NullPointerException.class)
    public void testBindUntilThrowsOnNullLifecycle() {

        //noinspection ResourceType
        RxLifecycle.bindUntilEvent(null, new Object());
    }