public void TestGetImplType_Null() { var target = new TestImplementationNull(); var actual = target.GetType().GetImplType(); Assert.IsNull(actual); }
public void TestImplType_Null() { var actual = new TestImplementationNull(); var attrs = actual.GetType().GetCustomAttributes(typeof(ImplementationAttribute), true); Assert.IsNotNull(attrs); Assert.Greater(attrs.Length, 0); ImplementationAttribute attr = (ImplementationAttribute)attrs[0]; Assert.IsNull(attr.ImplType); }