Exemple #1
0
        public void Should_return_false_if_pony_name_doesnt_exists()
        {
            var ur     = new MazeRules();
            var result = ur.IsPonyNameValidAsync("notexistingponyname");

            Assert.Equal(false, result);
        }
Exemple #2
0
        public void Should_return_true_if_pony_name_exists()
        {
            var ur     = new MazeRules();
            var result = ur.IsPonyNameValidAsync("Scootaloo");

            Assert.Equal(true, result);
        }