public void TestEnumTypeResolving() { var inspector = new ModelInspector(); inspector.ImportEnum(typeof(SomeEnum)); inspector.ImportEnum(typeof(ActResource.SomeOtherEnum)); var result = inspector.FindEnumMappingByType(typeof(SomeEnum)); Assert.IsNotNull(result); Assert.AreEqual(typeof(SomeEnum), result.EnumType); result = inspector.FindEnumMappingByType(typeof(ActResource.SomeOtherEnum)); Assert.IsNotNull(result); Assert.AreEqual(typeof(ActResource.SomeOtherEnum), result.EnumType); }