public void WeaklyTypedCreationTest() { var record = new List <string>(); var isIt = Weaver.Create(typeof(It), new Imp(), m => new CallRecorder(m, record)); Assert.IsTrue(isIt is It); var it = (It)isIt; Assert.AreEqual(42, it.Jo()); Assert.AreEqual(2, record.Count); }