/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
- using System;
- using Machine.Specifications;
-
- namespace Bifrost.Specs.Execution.for_BindingConventionManager.given
- {
- public class a_binding_convention_manager_with_one_type : a_binding_convention_manager
- {
- protected static Type service_type;
-
- Establish context = () =>
- {
- service_type = typeof (IService);
- type_discoverer_mock.Setup(t => t.GetAll()).Returns(new[] {service_type});
- };
- }
- }