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"));
}