  @Test
  public void shouldReturnIdentifier() throws Exception {

    Crash crash = mock(Crash.class);
    when(crash.getId()).thenReturn(1);
    when(crash.getAppInfo()).thenReturn(mock(AppInfo.class));

    CrashViewModel viewModel = new CrashViewModel(crash);

    assertThat(viewModel.getIdentifier(), is(1));
  }