public void IsTypeOfNull()
 {
     Assert.Throws <ArgumentNullException>(() => ArgumentCheck.IsTypeOf <TestFixture>(null));
 }
 public void IsTypeOfBaseClass()
 {
     Assert.DoesNotThrow(() => ArgumentCheck.IsTypeOf <TestFixture>(typeof(ArgumentCheckUnitTests)));
 }
 public static object Activate(Type type)
 {
     ArgumentCheck.IsNotNull(type);
     return(Activator.CreateInstance(type));
 }