PageRenderTime 35ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/Source/Examples/Example.Clr4/ExpandoObjectSpecs.cs

https://github.com/machine/machine.specifications
C# | 18 lines | 13 code | 5 blank | 0 comment | 0 complexity | 05bdb936407a43f0791617d14f238956 MD5 | raw file
Possible License(s): MIT, CC-BY-SA-3.0
  1. using System.Dynamic;
  2. using FluentAssertions;
  3. using Machine.Specifications;
  4. namespace Example.Clr4
  5. {
  6. public class When_specs_target_the_common_language_runtime_in_version_4
  7. {
  8. static ExpandoObject ExpandoObject;
  9. Because of = () => { ExpandoObject = new ExpandoObject(); };
  10. It should_be_able_to_use_components_that_are_available_in_the_target_framework =
  11. () => ExpandoObject.Should().NotBeNull();
  12. }
  13. }