public void ValidateParse(string idOrType, string expectedNamespace, string expectedType, string expectedLast) { ResourceType rt = idOrType; Assert.AreEqual(expectedNamespace, rt.Namespace); Assert.AreEqual(expectedType, rt.Type); Assert.AreEqual(expectedLast, rt.GetLastType()); }