Ui 操作測試函式庫
rxPresso.given(mockedRepo.getUser("id"))
.withEventsFrom(Observable.just(new User("some name")))
.expect(any(User.class))
.thenOnView(withText("some name"))
.perform(click());
Ui 操作測試函式庫
rxPresso.given(mockedRepo.getUser("id"))
.withEventsFrom(Observable.just(new User("some name")))
.expect(any(User.class))
.thenOnView(withText("some name"))
.perform(click());