public void EnsureValuesAreCorrectlySetWhenUsingConfigurationType() { BaseTypeAttribute baseTypeAttribute = new BaseTypeAttribute(typeof(Array), null); Assert.AreEqual(typeof(Array), baseTypeAttribute.BaseType); Assert.AreEqual(TypeSelectorIncludes.None, baseTypeAttribute.TypeSelectorIncludes); Assert.IsNull(baseTypeAttribute.ConfigurationType); }
public void FixtureSetUp() { baseTypeAttribute = new BaseTypeAttribute(typeof(Array)); }
public void EnsureValuesAreCorrectlySet() { BaseTypeAttribute baseTypeAttribute = new BaseTypeAttribute(typeof(Array)); Assert.AreEqual(typeof(Array), baseTypeAttribute.BaseType); Assert.AreEqual(TypeSelectorIncludes.None, baseTypeAttribute.TypeSelectorIncludes); }
public void ConstructingBaseTypeAttributeWithNullTypeThrows() { BaseTypeAttribute baseTypeAttribute = new BaseTypeAttribute(null); }