public void InstallerSettingsStorage_Initialises_To_Known_State_And_Properties_Work() { _Implementation = Factory.Singleton.Resolve <IInstallerSettingsStorage>(); Assert.IsNotNull(_Implementation.Provider); Assert.AreNotSame(_Provider, _Implementation.Provider); _Implementation.Provider = _Provider; Assert.AreSame(_Provider, _Implementation.Provider); }
public void InstallerSettingsStorage_Initialises_To_Known_State_And_Properties_Work() { _Implementation = Factory.Singleton.Resolve<IInstallerSettingsStorage>(); Assert.IsNotNull(_Implementation.Provider); Assert.AreNotSame(_Provider, _Implementation.Provider); _Implementation.Provider = _Provider; Assert.AreSame(_Provider, _Implementation.Provider); }
public void TestInitialise() { _Provider = new TestProvider() { Folder = TestContext.TestDeploymentDir }; _Implementation = Factory.Singleton.Resolve<IInstallerSettingsStorage>(); _Implementation.Provider = _Provider; _FullPath = Path.Combine(_Provider.Folder, _FileName); if(File.Exists(_FullPath)) File.Delete(_FullPath); }
public void TestInitialise() { _Provider = new TestProvider() { Folder = TestContext.TestDeploymentDir }; _Implementation = Factory.Singleton.Resolve <IInstallerSettingsStorage>(); _Implementation.Provider = _Provider; _FullPath = Path.Combine(_Provider.Folder, _FileName); if (File.Exists(_FullPath)) { File.Delete(_FullPath); } }