@Test
public void testLoadingIndicator() {

    when(service.loadItems()).thenReturn(TestData.response());
    viewModel.getLoading().addOnPropertyChangedCallback(callback);
    viewModel.initAndResume();
    verify(callback, times(2)).onPropertyChanged(eq(viewModel.getLoading()), anyInt());
}