}) }) Describe("#Run", func() { var configuration sldatatypes.SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration BeforeEach(func() { configuration = sldatatypes.SoftLayer_Container_Virtual_Guest_Block_Device_Template_Configuration{ Name: "fake-configuration-name", Note: "fake-configuration-note", OperatingSystemReferenceCode: "fake-operating-system-reference-code", Uri: "swift://FakeObjectStorageAccountName>@fake-clusterName/fake-containerName/fake-fileName.vhd", } }) It("creates a VGDTG with UUID and ID", func() { vgbdtGroup, err := vgbdtgService.CreateFromExternalSource(configuration) Expect(err).ToNot(HaveOccurred()) Expect(vgbdtGroup.Id).To(Equal(211582)) Expect(vgbdtGroup.GlobalIdentifier).To(Equal("fake-global-identifier")) err = cmd.Run() Expect(err).ToNot(HaveOccurred()) Expect(importImageCmd.Uuid).ToNot(Equal("")) Expect(importImageCmd.Id).ToNot(Equal("")) }) }) })