예제 #1
0
        public void test()
        {
            MDependency16.AllInstances.generate = _ =>
            {
                // Breaks test case: Assert.AreEqual(1, 2);

                return(123);
            };

            Class16 clazz = new Class16();

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