It("fails validation when deployment file not exists", func() {
				cmd = bmp.NewCreateBaremetalsCommand(options, fakeBmpClient)
				validate, err := cmd.Validate()
				Expect(validate).To(BeFalse())
				Expect(err).To(HaveOccurred())
			})
		})
	})

	Describe("#Execute", func() {
		Context("when executing a good CreateBaremetalsCommand", func() {
			Context("when executing CreateBaremetalsCommand without --dryrun", func() {
				BeforeEach(func() {
					fakeBmpClient.CreateBaremetalsResponse.Status = 200
					fakeBmpClient.CreateBaremetalsErr = nil
				})

				It("executes with no error", func() {
					args = []string{"bmp", "create-baremetals", "-d", deployment}
					rc, err := cmd.Execute(args)
					Expect(rc).To(Equal(0))
					Expect(err).ToNot(HaveOccurred())
				})
			})

			Context("when executing CreateBaremetalsCommand with --dryrun", func() {
				BeforeEach(func() {
					fakeBmpClient.CreateBaremetalsResponse.Status = 200
					fakeBmpClient.CreateBaremetalsErr = nil
					options = cmds.Options{