### Question:
RxViewBinder { public void unbind() { if (compositeDisposable != null) { compositeDisposable.clear(); compositeDisposable = null; } }  void bind(); void unbind();  }### Answer:
@Test public void testInitialUnbind() throws Exception { binder.unbind(); assertNull(testObserver); }
@Test public void testUnbind() throws Exception { binder.bind(); binder.unbind(); testSubject.onNext("testString"); assertNotNull(testObserver); assertTrue(testObserver.isDisposed()); assertEquals(0, testObserver.getEvents().get(0).size()); }