public void FixtureSetUp () { parser = new UnitTestNewsStyleUriParser (); // unit tests are being reused in CAS tests if (!UriParser.IsKnownScheme ("newsx")) UriParser.Register (parser, "newsx", 2); Assert.IsTrue (UnitTestNewsStyleUriParser.Registered, "Registered"); // our parser code was called }