public void ContractAttribute_contractInterfaceProperty_via_ctor() { Type expected = typeof( Object ); ContractAttribute target = new ContractAttribute( expected ); Assert.AreEqual<Type>( expected, target.ContractInterface ); }
public void ContractAttribute_contractInterfaceProperty_via_default_ctor() { var target = new ContractAttribute(); Assert.IsNull( target.ContractInterface ); }
public void ContractAttribute_ctor() { ContractAttribute target = new ContractAttribute( typeof( Object ) ); Assert.IsNotNull( target ); }
public void ContractAttribute_ctor_argumentNullException_on_null_contract() { ContractAttribute target = new ContractAttribute( null ); }
public void ContractAttribute_default_ctor() { var target = new ContractAttribute(); Assert.IsNotNull( target ); }