@Test
public void testNotDestroyViewModelIfActivityNotFinished() {

    delegate.setFinished(false);
    delegate.viewModel = viewModel;
    delegate.onDestroy();
    verify(viewModel, never()).onDestroy();
}