LauncherViewModel extends WatchLaterViewModel { public void update() { intentResolverRepository.update(); } @SuppressWarnings("WeakerAccess")  LauncherViewModel(WatchLaterApplication application); void update(); LiveData<IntentResolverRepository.ResolverState> getResolverState();  }
@Test public void should_update_intentresolverrepository() { viewModel.update(); verify(intentResolverRepository).update(); }