Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 816 Bytes

File metadata and controls

22 lines (16 loc) · 816 Bytes

DynamicShould

HaveProperty

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

snippet source | anchor

Exception

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