private static T RunInternal <T>(Func <ISmocksContext, T> func, Configuration configuration) { using (Smock context = new Smock(configuration)) { return(context.RunFunc(func, configuration)); } }
private static T RunInternal <T>(Func <ISmocksContext, T> func, Configuration configuration) { Smock context = new Smock(CreateServiceLocator(configuration)); return(context.RunFunc(func, configuration)); }