public void when_calling_AreArgumentsValid_with_valid_arguments_it_should_return_true() { var args = new[] { "-p", "my app", "-o", "." }; var cont = new ApplicationController(args); cont.AreArgumentsValid().Should().BeTrue(); }
public void when_calling_AreArgumentsValid_with_invalid_arguments_it_should_return_false() { var args = new[] { "-p" }; var cont = new ApplicationController(args); cont.AreArgumentsValid().Should().BeFalse(); }