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