@Test
public void serviceAccountEmailImpersonatedCredentials() {

  var credentials = ImpersonatedCredentials.create(
      sourceCredentials, SERVICE_ACCOUNT, List.of(), List.of(), 300);
  assertThat(ServiceAccounts.serviceAccountEmail(credentials), is(SERVICE_ACCOUNT));
}