public void ConstructorTest() { // Execute metod under test first time TaskProvider_Accessor target = new TaskProvider_Accessor(this.serviceProvider); Assert.IsNotNull(target, "Unable to instantiate TaskProvider."); Assert.IsNotNull(target.serviceProvider, "TaskProvider.provider returned null"); }
public void VsConstructorTest() { // Execute metod under test first time TaskProvider_Accessor target = new TaskProvider_Accessor(this.serviceProvider); Assert.IsNotNull(target, "Unable to instantiate TaskProvider."); Assert.IsNotNull(target.serviceProvider, "TaskProvider.provider returned null"); }