PokedexViewModel extends BaseObservable implements ErrorViewModel, ErrorItemViewModel.OnRetryListener, PokemonItemViewModel.OnSelectListener { public ObservableList<ItemBindingModel> items() { return items; } @Inject  PokedexViewModel(Timber.Tree log); void setCallbacks(Callbacks callbacks); ObservableList<ItemBindingModel> items(); @Bindable State getState(); void startLoading(); void stopLoading(); @Override void retry(); @Override void selectItem(PokemonItem item); void addItems(PagedResult<PokemonItem> result); void onScrolled(int lastVisiblePosition); final ItemBinding<ItemBindingModel> itemBinding; }
@Test public void startsEmpty() { assertThat(viewModel.items()).isEmpty(); }