@Test
public void testAddBlueprintDefaultsForException() throws HttpResponseException {

  doThrow(responseException).when(ambariClient).addDefaultBlueprints();
  when(responseException.getMessage()).thenReturn("error");
  String result = blueprintCommands.addBlueprint();
  verify(responseException).getMessage();
  assertEquals("Failed to add the default blueprints: error", result);
}