Exemple #1
0
        public void ThatInheritFrom()
        {
            var result = TypesFunctions.ThatInheritFrom(data.Classes, "Fruit");

            Assert.AreEqual("Apple", result.First().Name);
        }
Exemple #2
0
        public void ThatImplement()
        {
            var result = TypesFunctions.ThatImplement(data.Classes, "ICanBeEaten");

            Assert.AreEqual("AppleDTO", result.First().Name);
        }