public User getRequester() {
    if (initiator.getType() == Initiator.Type.MANUAL) {
      return ((ManualInitiator) initiator).getUser();
    }
    return null;
  }
@Test
  public void testGetRequester() {
    RunRequest runRequest =
        RunRequest.builder()
            .currentPolicy(RunPolicy.START_FRESH_NEW_RUN)
            .requester(User.create("tester"))
            .build();
    Assert.assertEquals("tester", runRequest.getRequester().getName());

    runRequest =
        RunRequest.builder()
            .initiator(UpstreamInitiator.withType(Initiator.Type.FOREACH))
            .currentPolicy(RunPolicy.START_FRESH_NEW_RUN)
            .build();
    Assert.assertNull(runRequest.getRequester());
  }