@Test
public void testGetLocalResources() throws Exception {

  RuncContainerRuntime runtime = new MockRuncContainerRuntime(
      mockExecutor, mockCGroupsHandler);
  runtime.initialize(conf, nmContext);
  runtime.getLocalResources(container);
  RuncRuntimeObject runtimeObject =
      captureRuncRuntimeObject(1);
  LocalResource testConfig = runtimeObject.getConfig();
  List<LocalResource> testLayers = runtimeObject.getOCILayers();
  Assert.assertEquals(config, testConfig);
  Assert.assertEquals(layers, testLayers);
}