I'm taking a file as an argument parameter. I set the type to this:
new FileArgumentType().verifyCanWrite().or().verifyNotExists().verifyCanWriteParent()
What I want to check is if I can write to this file or that I can create and write to this file. This doesn't work because FileVerification.verify() only processes or cases if verifyPresenceAndType fails but not if verifyPermissions fails. or cases should be processed if either of these two checks fail.