protected override void beforeEach() { Container.Inject(_logs = new SharingLogsCache()); ClassUnderTest.SetCurrentProvenance("x"); ClassUnderTest.Global("global"); ClassUnderTest.Dependency("a", "b"); }
public void beforeEach() { _policies = new List <ISharingPolicy> { MockRepository.GenerateMock <ISharingPolicy>() }; _graph = new SharingGraph(); _packageLog = MockRepository.GenerateMock <IPackageLog>(); _sharingLogs = new SharingLogsCache(); _activator = new SharingPolicyActivator(_graph, _sharingLogs, _policies); }
public void beforeEach() { Directory.GetFiles(".", "*view.config").Each(File.Delete); _graph = new SharingGraph(); _fileSystem = new FileSystem(); _packageLog = new PackageLog(); _sharingLogs = new SharingLogsCache(); _activator = new SharingConfigActivator(_graph, _sharingLogs, new FubuApplicationFiles()); }