@Test
public void fromBundle()
        throws Exception {

    // given
    loginPresenter.username = "";
    loginPresenter.password = "";
    Bundle bundle = BundleFactory.create();
    Mockito.when(bundle.getString("username")).thenReturn("Hello");
    Mockito.when(bundle.getString("password")).thenReturn("World");
    // when
    loginPresenter.fromBundle(bundle);
    // then
    assertThat(loginPresenter.username).isEqualTo("Hello");
    assertThat(loginPresenter.password).isEqualTo("World");
}