Пример #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);
        }
Пример #2
0
        public void Should_return_true_if_pony_name_exists()
        {
            var ur     = new MazeRules();
            var result = ur.IsPonyNameValidAsync("Scootaloo");

            Assert.Equal(true, result);
        }