public void TestCreation() { CountryCreationListener countryCreationListener = new CountryCreationListener(); Sxta.Samples.Country.AddIHLAobjectRootCreationListener(countryCreationListener); Sxta.Samples.Country myCountry = new Sxta.Samples.Country(); Assert.AreEqual(countryCreationListener.LastObject, myCountry); }