### Question:
NetworkHelper { public Observable<TotalResEntity.Register> register(String username, String password, String repassword) { return mWanApiService.register(username, password, repassword) .map(new WanHttpResultFunc<TotalResEntity.Register>()) .compose(RxSchedulers.<TotalResEntity.Register>io_main()); } NetworkHelper(WanApiService apiService); Observable<WanLoginEntityRes.DataBean> login(String userName, String password); Observable<TotalResEntity.Register> register(String username, String password, String repassword); Observable<TotalResEntity.HomeArticles> getHomeArticles(int page); Observable<List<TotalResEntity.HomeBanner>> getHomeBanner(); Observable<TotalResEntity.SearchHotWords> getSearchHotWords(); Observable<TotalResEntity.CommonWebsite> getCommonWebsite(); Observable<TotalResEntity.SystemData> getSystemData(); Observable<TotalResEntity.Collect> getCollect(int page);  }### Answer:
@Test public void testRegister() { mApiService.register(username, password, password).subscribe(registerWanBaseResponseEntity -> { }, throwable -> { }); }