DynamicShould

HaveProperty

dynamic theFuture = new ExpandoObject();
DynamicShould.HaveProperty(theFuture, "RobotTeachers");

‚Äčsnippet source | anchor

Exception

Dynamic object "theFuture" should contain property "RobotTeachers" but does not.