We are using Rhino Mox to conduct some unit testing and need to mock two interfaces. Only one interface has been applied to the object and the other has been dynamically implemented using a aspect-oriented approach. Is there an easy way to dynamically combine the two interfaces so that one can be duplicated and the styles styled for both interfaces?
use of rhino max
var mock = mock repository. Generatormock & lt; IFirst, Isacond & gt; (); Mock.Stub (M = & gt; m.FirstProperty). Property Beaver (); ((Escond.) Mock) .Subbate (k = & gt; K.Secendproperty). Property Behavior (); Found and used information from
Comments
Post a Comment