public void SetUp() { var fakePlugInsWithNSubtitute = Substitute.For <IPlugIns>(); var fakePlugInsWithRhinoMock = MockRepository.GenerateMock <IPlugIns>(); _createPlugIns = new CreatePlugIns(fakePlugInsWithNSubtitute, fakePlugInsWithRhinoMock); }
public MainClassForTest() { var serviceLocator = new ServiceLocator(); _createPlugIns = serviceLocator.GetServiceLocator().Resolve <CreatePlugIns>(); }