public void removeModelBuildListener(OnModelBuildFinishedListener listener) {
    adapter.removeModelBuildListener(listener);
  }
@Test
  public void testRemoveModelBuildListener() {
    OnModelBuildFinishedListener observer = mock(OnModelBuildFinishedListener.class);
    EpoxyController controller = new EpoxyController() {

      @Override
      protected void buildModels() {
        new TestModel()
            .addTo(this);
      }
    };

    controller.addModelBuildListener(observer);
    controller.removeModelBuildListener(observer);
    controller.requestModelBuild();

    verify(observer, never()).onModelBuildFinished(any(DiffResult.class));
  }