@Test
public void testAllocateNumaNodeWhenNoNumaMemResourcesAvailable()
    throws Exception {

  NumaResourceAllocation nodeInfo = numaResourceAllocator
      .allocateNumaNodes(getContainer(
          ContainerId.fromString("container_1481156246874_0001_01_000001"),
          Resource.newInstance(2048000, 6)));
  Assert.assertNull("Should not assign numa nodes when there"
      + " are no sufficient memory resources available.", nodeInfo);
}