public void TestThatValidationsSucceedsWhenDirectoriesExists() { var operation = new PreCompileOperation("MyWebApp", _validWebAppPath, _validOutputPath, _buildManager.Object); var notification = new Notification(); Assert.That(operation.IsValid(notification)); }
public void TestThatValidationsFailsWhenAppNameIsEmpty() { var operation = new PreCompileOperation("", _validWebAppPath, _validOutputPath, _buildManager.Object); var notification = new Notification(); Assert.That(operation.IsValid(notification), Is.False); }