@Test
public void onShoppingCartChanged_showCheckout_whenOrderIsNotEmpty() {

    given(currentOrder.isEmpty()).willReturn(false);
    presenter.onShoppingCartChanged(mock(ShoppingCartChangedEvent.class));
    verify(view).showCheckout();
}