public void Manager_AddInstance_GetInstance_AutoFixture_Alias() { // DEMO change .GetAlias ParametersManager parametersManager = new ParametersManager(); Fixture fixture = new Fixture(); FileParameterDescriptor fileParameterDescriptor = fixture.Create <FileParameterDescriptor>(); parametersManager.AddParameter(fileParameterDescriptor); Assert.That(parametersManager.GetAlias(fileParameterDescriptor.Id), Is.SameAs(fileParameterDescriptor.Alias)); }
public void Manager_AddInstance_GetInstance_AutoFixture_AbstractType() { // DEMO add IFileData ParametersManager parametersManager = new ParametersManager(); Fixture fixture = new Fixture(); //..add Register FileParameterDescriptor fileParameterDescriptor = fixture.Create <FileParameterDescriptorEx>(); parametersManager.AddParameter(fileParameterDescriptor); Assert.That(parametersManager.GetAlias(fileParameterDescriptor.Id), Is.SameAs(fileParameterDescriptor.Alias)); }
public void Manager_AddInstance_GetInstance_AutoFixture_AbstractType() { // DEMO add IFileData ParametersManager parametersManager = new ParametersManager(); Fixture fixture = new Fixture(); //..add Register FileParameterDescriptor fileParameterDescriptor = fixture.Create<FileParameterDescriptorEx>(); parametersManager.AddParameter(fileParameterDescriptor); Assert.That(parametersManager.GetAlias(fileParameterDescriptor.Id), Is.SameAs(fileParameterDescriptor.Alias)); }
public void Manager_AddInstance_GetInstance_AutoFixture_Alias() { // DEMO change .GetAlias ParametersManager parametersManager = new ParametersManager(); Fixture fixture = new Fixture(); FileParameterDescriptor fileParameterDescriptor = fixture.Create<FileParameterDescriptor>(); parametersManager.AddParameter(fileParameterDescriptor); Assert.That(parametersManager.GetAlias(fileParameterDescriptor.Id), Is.SameAs(fileParameterDescriptor.Alias)); }