BeforeEach(func() { fakeFilter.NetOutReturns(disaster) }) It("returns the error", func() { err := container.NetOut(garden.NetOutRule{}) Expect(err).To(Equal(disaster)) }) }) }) Describe("Properties", func() { Describe("CRUD", func() { It("can get a property", func() { value, err := container.Property("property-name") Expect(err).ToNot(HaveOccurred()) Expect(value).To(Equal("property-value")) }) It("can test for a set of properties", func() { Expect(container.HasProperties(garden.Properties{ "other-property": "property-value", })).To(BeFalse()) Expect(container.HasProperties(garden.Properties{ "property-name": "property-value", "other-property": "property-value", })).To(BeFalse()) Expect(container.HasProperties(garden.Properties{