@Test
public void testSetNavigationBarListener() {

    final NavigationBarListener listener = mock(NavigationBarListener.class);
    NavigationBarMixin mixin = new NavigationBarMixin(mTemplateLayout);
    mixin.setNavigationBarListener(listener);
    mNavigationBar.getNextButton().performClick();
    verify(listener).onNavigateNext();
    mNavigationBar.getBackButton().performClick();
    verify(listener).onNavigateBack();
}