Beispiel #1
0
            public void GetsProperty()
            {
                // Given
                CustomObject obj = new CustomObject
                {
                    Foo = "abc"
                };
                IDocument document = obj.ToDocument();

                // When
                object result = document["Foo"];

                // Then
                result.ShouldBe("abc");
            }