TasksViewModel extends BaseViewModel<TasksViewModel.State> { public void reloadData() { reloadData(false); } TasksViewModel(); @Override void onCreate(); List<Task> getTasks(); void reloadData();  }
@Test public void testReloadData() throws Exception { doNothing().when(mTasksViewModel).reloadData(anyBoolean()); mTasksViewModel.reloadData(); verify(mTasksViewModel, times(1)).reloadData(false); }