### Question:
ChaosHostIdentityProvider extends PropertyDefinerBase { String getPersonalIdentifier () { return Stream.<Supplier<String>>of(this::getKubernetesIdentifier, this::getHostName).map(Supplier::get) .filter(Objects::nonNull) .findFirst() .orElse(null); }  @Override String getPropertyValue();  }### Answer:
@Test public void getPersonalIdentifierForKubernetesNode () { doCallRealMethod().when(chaosHostIdentityProvider).getPersonalIdentifier(); assertEquals("k8s:hostname.staging", chaosHostIdentityProvider.getPersonalIdentifier()); }