Improve !MockPerm methods to mirror the signature of the corresponding real class, for better sensitivity to improper use of the API (this is an "Agilo-ism" ;-) ).
Patch by Felix Schwarz. Closes #8590.
Authored by: cboos 2009-08-24
Parent: [r8501]
Child: [r8503]