@Test
public void testCreateRecommendationDependencyCommand_returnsConfigurationDependencyRecommendationCommand()
  throws IOException, StackAdvisorException {

  Configuration configuration = mock(Configuration.class);
  when(configuration.getRecommendationsArtifactsRolloverMax()).thenReturn(100);
  StackAdvisorRunner saRunner = mock(StackAdvisorRunner.class);
  AmbariMetaInfo metaInfo = mock(AmbariMetaInfo.class);
  StackAdvisorHelper helper = new StackAdvisorHelper(configuration, saRunner, metaInfo);
  StackAdvisorRequestType requestType = StackAdvisorRequestType.CONFIGURATION_DEPENDENCIES;
  StackAdvisorCommand<RecommendationResponse> command = helper.createRecommendationCommand(requestType);
  assertEquals(ConfigurationDependenciesRecommendationCommand.class, command.getClass());
}