Esempio n. 1
0
        public void test()
        {
            MDependency14.AllInstances.generateClass14 = (Dependency14 dependency, Class14 clazz) =>
            {
                clazz.callback(123);
            };

            Class14 clazz2 = new Class14();

            Assert.AreEqual(2 * 123, clazz2.generate());
        }