}) Describe("#Description", func() { It("returns the description of a SlPackageOptionsCommand", func() { Expect(cmd.Description()).To(Equal("List all options of Softlayer package")) }) }) Describe("#Usage", func() { It("returns the usage text of a SlPackageOptionsCommand", func() { Expect(cmd.Usage()).To(Equal("bmp sl-package-options")) }) }) Describe("#Validate", func() { It("validates a good SlPackageOptionsCommand", func() { validate, err := cmd.Validate() Expect(validate).To(BeTrue()) Expect(err).ToNot(HaveOccurred()) }) }) Describe("#Execute", func() { It("executes a good SlPackageOptionsCommand", func() { rc, err := cmd.Execute(args) Expect(rc).To(Equal(0)) Expect(err).ToNot(HaveOccurred()) }) }) })