### Question:
EventSchedulerService extends EventSchedulerGrpc.EventSchedulerImplBase implements
        AxonServerClientService { @Override public void scheduleEvent(ScheduleEventRequest request, StreamObserver<ScheduleToken> responseObserver) { doScheduleEvent(request.getEvent(), request.getInstant(), responseObserver); } EventSchedulerService(StandaloneTaskManager standaloneTaskManager,
                                 TaskPayloadSerializer taskPayloadSerializer); @Override void scheduleEvent(ScheduleEventRequest request, StreamObserver<ScheduleToken> responseObserver); @Override void rescheduleEvent(RescheduleEventRequest request,
                                StreamObserver<ScheduleToken> responseObserver); @Override void cancelScheduledEvent(CancelScheduledEventRequest request,
                                     StreamObserver<InstructionAck> responseObserver);  }### Answer:
@Test public void scheduleEvent() { ScheduleEventRequest request = ScheduleEventRequest.newBuilder() .build(); FakeStreamObserver<ScheduleToken> responseObserver = new FakeStreamObserver<>(); testSubject.scheduleEvent(request, responseObserver); assertFalse(responseObserver.values().isEmpty()); ScheduleToken scheduleToken = responseObserver.values().get(0); assertEquals("1234", scheduleToken.getToken()); assertEquals(1, responseObserver.completedCount()); }