* dependency mapping file (role_command_order.json)
*/
@Test
public void testInitializeAtHaHDFSCluster() throws AmbariException {
RoleCommandOrder rco = injector.getInstance(RoleCommandOrder.class);
ClusterImpl cluster = createMock(ClusterImpl.class);
expect(cluster.getService("HCFS")).andReturn(null);
Service hdfsService = createMock(Service.class);
ServiceComponent journalnodeSC = createMock(ServiceComponent.class);
expect(cluster.getService("HDFS")).andReturn(hdfsService).atLeastOnce();
expect(hdfsService.getServiceComponent("JOURNALNODE")).andReturn(journalnodeSC);
expect(cluster.getCurrentStackVersion()).andReturn(new StackId("HDP", "2.0.6"));
replay(cluster);
replay(hdfsService);
Map<RoleCommandPair, Set<RoleCommandPair>> deps = rco.getDependencies();