@Test
public void shouldBindLayoutPresenter() {

  final LayoutPresenter layoutPresenter =
      dataBindingLayoutPresenterFor(LAYOUT_ID)
          .handler(HANDLER_ID, HANDLER)
          .handler(SECOND_HANDLER_ID, SECOND_HANDLER)
          .build();
  layoutPresenter.bind(view);
  verify(viewDataBinding).setVariable(HANDLER_ID, HANDLER);
  verify(viewDataBinding).setVariable(SECOND_HANDLER_ID, SECOND_HANDLER);
  verify(viewDataBinding).executePendingBindings();
  verifyNoMoreInteractions(viewDataBinding);
}