示例#1
0
        public void ShouldHaveDefault()
        {
            var input = new ProjectNameInput {
                SuppliedInput = null
            };

            var result = input.Validate();

            result.ShouldBe(string.Empty);
        }
示例#2
0
        public void ShouldReturnName()
        {
            var input = new ProjectNameInput {
                SuppliedInput = "name"
            };

            var result = input.Validate();

            result.ShouldBe("name");
        }