@VisibleForTesting
  ContainerPlacementMetadata registerContainerPlacementActionForTest(ContainerPlacementRequestMessage requestMessage,
      ContainerAllocator containerAllocator) {
    registerContainerPlacementAction(requestMessage, containerAllocator);
    if (hasActiveContainerPlacementAction(requestMessage.getProcessorId())) {
      return getPlacementActionMetadata(requestMessage.getProcessorId()).get();
    }
    return null;
  }
This method is only used for Testing the Container Placement actions to get a hold of {@link ContainerPlacementMetadata}
for assertions. Not intended to be used in src
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerManager.java