public void ExtendedHostFunctions_type() { var hostType = (HostType)host.type("System.Random"); Assert.AreEqual(1, hostType.Types.Length); Assert.AreEqual(typeof(Random), hostType.Type); }