public void TestInitialize() { base.Initialize(); MockLicensingFactory = (MockLicensingFactory)Ctx.GetObject("MockLicensingFactory"); LicensingFactory = (LicensingFactory)Ctx.GetObject("LicensingFactory"); License = MockLicensingFactory.NewMockLicense(); LicenseCondition = LicensingFactory.NewLicensedCondition(License); }
public void TestInitialize() { base.Initialize(); MockLicensingFactory = (MockLicensingFactory)Ctx.GetObject("MockLicensingFactory"); LicensingFactory = (LicensingFactory)Ctx.GetObject("LicensingFactory"); License license1 = MockLicensingFactory.NewMockLicense(); License license2 = MockLicensingFactory.NewMockLicense(); IList <License> licenses = new List <License>(); licenses.Add(license1); licenses.Add(license2); CompositeLicense = LicensingFactory.NewCompositeLicense(licenses); CompositeLicenseImpl = (CompositeLicenseImpl)CompositeLicense; }
public void TestInitialize() { base.Initialize(); MockLicensingFactory = (MockLicensingFactory)Ctx.GetObject("MockLicensingFactory"); LicensingFactory = (LicensingFactory)Ctx.GetObject("LicensingFactory"); }