SamzaResourceRequest createRequestForActive(Instant requestTime) {
    String randomHost = RandomStringUtils.randomAlphanumeric(4);
    String randomId = RandomStringUtils.randomAlphanumeric(8);
    return new SamzaResourceRequest(1, 1, randomHost, randomId, requestTime);
  }
Test request state after container is assigned to a host
* Assigned on requested host
* Assigned on any host
samza-core/src/test/java/org/apache/samza/clustermanager/TestContainerRequestState.java