public void Objects_CanBeStored()
        {
            var item = new CustomItem();
            item.StoreEmbeddedObject("Object", new EmbeddableComponent { Hello = "World" });

            var stored = item.LoadEmbeddedObject<EmbeddableComponent>("Object");

            stored.Hello.ShouldBe("World");
        }
        public void NesteObjects_CanBeStored()
        {
            var item = new CustomItem();
            item.StoreEmbeddedObject("Nested", new Embeddable { Title = "When do I exist?", Sub = new EmbeddableComponent { Hello = "World" }});

            var stored = item.LoadEmbeddedObject<Embeddable>("Nested");

            stored.Title.ShouldBe("When do I exist?");
            stored.Sub.Hello.ShouldBe("World");
        }