SoftwareManagementStep extends TrackableTasklet { public ManagementOperation getManagementOperation() { return managementOperation; }  IExclusiveLockedClusterEntityManager getLockClusterEntityMgr(); @Autowired void setLockClusterEntityMgr(
         IExclusiveLockedClusterEntityManager lockClusterEntityMgr); SoftwareManagerCollector getSoftwareMgrs(); @Autowired void setSoftwareMgrs(SoftwareManagerCollector softwareMgrs); ISoftwareSyncUpService getServiceSyncup(); @Autowired void setServiceSyncup(ISoftwareSyncUpService serviceSyncup); @Override RepeatStatus executeStep(ChunkContext chunkContext,
         JobExecutionStatusHolder jobExecutionStatusHolder); ClusterManager getClusterManager(); void setClusterManager(ClusterManager clusterManager); ManagementOperation getManagementOperation(); void setManagementOperation(ManagementOperation managementOperation); boolean isCheckVMStatus(); void setCheckVMStatus(boolean checkVMStatus);  }
@Test public void createClusterTasklet() { SoftwareManagementStep softwareCreateClusterTasklet = ctx.getBean("softwareCreateClusterTasklet", SoftwareManagementStep.class); ManagementOperation operation = softwareCreateClusterTasklet.getManagementOperation(); Assert.assertEquals(ManagementOperation.CREATE, operation); }