FreezeFake <IHand>();. var mouth = _container.FreezeFake<IMouth>();. A.CallTo(() => hand.TouchIron(A<Iron>.Ignored)).Throws<BurnException>();. ... <看更多>
Search
Search
FreezeFake <IHand>();. var mouth = _container.FreezeFake<IMouth>();. A.CallTo(() => hand.TouchIron(A<Iron>.Ignored)).Throws<BurnException>();. ... <看更多>