예제 #1
0
 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");
 }
예제 #2
0
        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");
        }