public void ReturnsRightType(string typeName, Type expectedType) { var type = TypeCache.GetType(typeName); Assert.AreEqual(expectedType, type); } }