public static ReviewService Create(PleyContext context) { var logger = new Mock <ILogger <ReviewService> >(); var restaurantSvc = RestaurantServiceFactory.Create(context); return(new ReviewService(context, restaurantSvc, logger.Object)); }
public RestaurantServiceTest() { _ctx = PleyContextFactory.Create(); _svc = RestaurantServiceFactory.Create(_ctx); }