Пример #1
0
 public void Setup() {
     _userMock = new Mock<IUserBL>();
     _licenseData = new LicenseData();
     _licenseBLMock = new Mock<ILicenseBL>();
     _licenseControllerMock = new Mock<ILicenseController>();
     _instanceSettingsMock = new Mock<IInstanceSettings>();
     _seatingBLMock = new Mock<ISeatingBL>();
     _licenseStateTransitionMock = new LicenseStateTransitionMock();
     _manager = new LicenseManager(_licenseControllerMock.Object, _userMock.Object, _licenseData, _licenseBLMock.Object, _instanceSettingsMock.Object, _seatingBLMock.Object, _licenseStateTransitionMock.Callback);
 }
Пример #2
0
 public void Setup()
 {
     _userMock                   = new Mock <IUserBL>();
     _licenseData                = new LicenseData();
     _licenseBLMock              = new Mock <ILicenseBL>();
     _licenseControllerMock      = new Mock <ILicenseController>();
     _instanceSettingsMock       = new Mock <IInstanceSettings>();
     _seatingBLMock              = new Mock <ISeatingBL>();
     _licenseStateTransitionMock = new LicenseStateTransitionMock();
     _manager = new LicenseManager(_licenseControllerMock.Object, _userMock.Object, _licenseData, _licenseBLMock.Object, _instanceSettingsMock.Object, _seatingBLMock.Object, _licenseStateTransitionMock.Callback);
 }