@Test
public void testOpenDetail() {

    when(service.loadItems()).thenReturn(TestData.response());
    viewModel.initAndResume();
    viewModel.openDetail(TestData.ID_1);
    verify(navigator).openDetail(any(ActivityHolder.class), captor.capture());
    assertThat(captor.getValue()).isEqualTo(TestData.ID_1);
}