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

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

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