public void should_work() { var realDictionary = new DynamicDictionary <string, object>(); dynamic dict = realDictionary; realDictionary.Should(Be.Empty); dict.Foo = "bar"; realDictionary.ShouldNot(Be.Empty); realDictionary["Foo"].ShouldEqual("bar"); (dict.Foo as string).ShouldEqual("bar"); (dict.Bar as string).Should(Be.Null); }