### Question:
PublicKeyCreationHandler extends EventSenderAwareHandler<EnvironmentDto> { @Override public String selector() { return CREATE_PUBLICKEY_EVENT.selector(); } protected  PublicKeyCreationHandler(EventSender eventSender, EnvironmentService environmentService, EnvironmentResourceService environmentResourceService,
            EventBus eventBus); @Override String selector(); @Override void accept(Event<EnvironmentDto> environmentDtoEvent);  }### Answer:
@Test @MockitoSettings(strictness = Strictness.LENIENT) void selector() { doAnswer(i -> null).when(eventSender).sendEvent(baseNamedFlowEvent.capture(), any(Headers.class)); assertThat(underTest.selector()).isEqualTo("CREATE_PUBLICKEY_EVENT"); }