@Test public final void testGetContainerSpec() {

  final Resource containerAlloc =
      jobMetaData.getResourceSkyline().getContainerSpec();
  final Resource containerAlloc2 = Resource.newInstance(1, 1);
  Assert.assertEquals(containerAlloc.getMemorySize(),
      containerAlloc2.getMemorySize());
  Assert.assertEquals(containerAlloc.getVirtualCores(),
      containerAlloc2.getVirtualCores());
}