public void TestInitialize() { mockStyleClassBusinessLogic = new Mock <IStyleClassBusinessLogic>(); mockFormatDataAccess = new Mock <IFormatDataAccess>(); formatBusinessLogic = new FormatBusinessLogic(mockFormatDataAccess.Object, mockStyleClassBusinessLogic.Object); styleClass = Utils.CreateStyleClassForTest(); format = Utils.CreateFormatForTest(); }
public FormatController(IFormatBusinessLogic formatBusinessLogic, IAuthorizationBusinessLogic authorizationBusinessLogic) { FormatBusinessLogic = formatBusinessLogic; AuthorizationBusinessLogic = authorizationBusinessLogic; }