Remotion.Linq.SqlBackend.UnitTests.BooleanUtilityTest.GetMatchingBoolType C# (CSharp) Метод

GetMatchingBoolType() приватный Метод

private GetMatchingBoolType ( ) : void
Результат void
    public void GetMatchingBoolType ()
    {
      Assert.That (BooleanUtility.GetMatchingBoolType (typeof (int)), Is.EqualTo (typeof (bool)));
      Assert.That (BooleanUtility.GetMatchingBoolType (typeof (int?)), Is.EqualTo (typeof (bool?)));
      Assert.That (
          () => BooleanUtility.GetMatchingBoolType (typeof (bool)),
          Throws.ArgumentException.With.Message.EqualTo ("Type must be Int32 or Nullable<Int32>.\r\nParameter name: type"));
    }