PageRenderTime 106ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/Source/Bifrost.Specs/Execution/for_BindingConventionManager/given/a_binding_convention_manager_with_one_type.cs

#
C# | 16 lines | 14 code | 2 blank | 0 comment | 0 complexity | c892d196899dde568871ca45b7478e70 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. using System;
  2. using Machine.Specifications;
  3. namespace Bifrost.Specs.Execution.for_BindingConventionManager.given
  4. {
  5. public class a_binding_convention_manager_with_one_type : a_binding_convention_manager
  6. {
  7. protected static Type service_type;
  8. Establish context = () =>
  9. {
  10. service_type = typeof (IService);
  11. type_discoverer_mock.Setup(t => t.GetAll()).Returns(new[] {service_type});
  12. };
  13. }
  14. }