@Test
public void toBundle()
        throws Exception {

    // given
    loginPresenter.username = "Hello";
    loginPresenter.password = "World";
    // when
    Bundle bundle = loginPresenter.toBundle();
    // then
    Mockito.verify(bundle).putString("username", "Hello");
    Mockito.verify(bundle).putString("password", "World");
    Mockito.verifyNoMoreInteractions(bundle);
}