public void ValidateParameters_returns_false_is_Assembly_is_null() { // ARRANGE var sut = new TestableTaskBase() { Assembly = null !, BuildEngine = new BuildEngineMock() }; // ACT var valid = sut.ValidateParameters(); // ASSERT Assert.False(valid); }
public void ValidateParameters_returns_true_if_OutputDirectory_is_null() { // ARRANGE var sut = new TestableTaskBase() { Assembly = new TaskItem("myAssembly.dll"), BuildEngine = new BuildEngineMock(), OutputDirectory = null ! }; // ACT var valid = sut.ValidateParameters(); // ASSERT Assert.True(valid); }