public void CanCreateThrowsExceptionWithNullTypeTest() { var target = new ArrayTypeCreator(); Action action = () => target.CanCreate(null, null, null); action.ShouldThrow<ArgumentNullException>(); }