Exemplo n.º 1
0
        public void ProjectBindingOperation_ArgChecks()
        {
            Exceptions.Expect <ArgumentNullException>(() => new ProjectBindingOperation(null, this.projectMock, this.ruleStore));
            Exceptions.Expect <ArgumentNullException>(() => new ProjectBindingOperation(this.serviceProvider, null, this.ruleStore));
            Exceptions.Expect <ArgumentNullException>(() => new ProjectBindingOperation(this.serviceProvider, this.projectMock, null));

            ProjectBindingOperation testSubject = this.CreateTestSubject();

            testSubject.Should().NotBeNull("Suppress warning that not used");
        }