Exemplo n.º 1
0
 public static T CreateMock <T>(this IFixture fixture, Type[] ctorArgTypes)
     where T : class
 {
     return(fixture.CreateMock <T>(CreateCtorArgs(fixture, ctorArgTypes)));
 }
 protected static Mock <TType> CreateMock <TType>() where TType : class
 {
     return(fixture.CreateMock <TType>());
 }
Exemplo n.º 3
0
 public static T CreateMock <T>(this IFixture fixture)
     where T : class
 {
     return(fixture.CreateMock <T>(GetCtorArgTypes <T>()));
 }