@Test
public void shouldFailForNonExistProject() throws IOException {

  doThrow(NOT_FOUND).when(projectsGetAncestry).execute();
  idTokenPayload.setEmail("foo@barfoo.iam.gserviceaccount.com");
  assertThat(validator.authenticate("token"), is(nullValue()));
  verify(projectsGetAncestry).execute();
  verifyZeroInteractions(iam);
}