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