func createCommands(options cmds.Options, bmpClient clients.BmpClient) map[string]cmds.Command {
	return map[string]cmds.Command{
		"bms":                    bmp.NewBmsCommand(options, bmpClient),
		"create-baremetals":      bmp.NewCreateBaremetalsCommand(options, bmpClient),
		"login":                  bmp.NewLoginCommand(options, bmpClient),
		"sl":                     bmp.NewSlCommand(options, bmpClient),
		"status":                 bmp.NewStatusCommand(options, bmpClient),
		"stemcells":              bmp.NewStemcellsCommand(options, bmpClient),
		"target":                 bmp.NewTargetCommand(options, bmpClient),
		"task":                   bmp.NewTaskCommand(options, bmpClient),
		"tasks":                  bmp.NewTasksCommand(options, bmpClient),
		"update-state":           bmp.NewUpdateStateCommand(options, bmpClient),
		"provisioning-baremetal": bmp.NewProvisioningBaremetalCommand(options, bmpClient),
	}
}
		deployment    string
		fakeBmpClient *fakes.FakeBmpClient
	)

	BeforeEach(func() {
		args = []string{"bmp", "create-baremetals"}
		wd, _ := os.Getwd()
		deployment = filepath.Join(wd, "../..", "test_fixtures/bmp", "deployment.yml")
		options = cmds.Options{
			Verbose:    false,
			Deployment: deployment,
			DryRun:     false,
		}

		fakeBmpClient = fakes.NewFakeBmpClient("fake-username", "fake-password", "http://fake.url.com", "fake-config-path")
		cmd = bmp.NewCreateBaremetalsCommand(options, fakeBmpClient)
	})

	Describe("NewCreateBaremetalsCommand", func() {
		It("create new CreateBaremetalsCommand", func() {
			Expect(cmd).ToNot(BeNil())

			cmd2 := bmp.NewCreateBaremetalsCommand(options, fakeBmpClient)
			Expect(cmd2).ToNot(BeNil())
			Expect(cmd2).To(Equal(cmd))
		})
	})

	Describe("#Name", func() {
		It("returns the name of a CreateBaremetalsCommand", func() {
			Expect(cmd.Name()).To(Equal("create-baremetals"))