DynamicShould HaveProperty dynamic theFuture = new ExpandoObject(); DynamicShould.HaveProperty(() => theFuture, "RobotTeachers"); snippet source | anchor Exception Dynamic object "theFuture" should contain property "RobotTeachers" but does not.