$reset()

This method is a utility method used to clear out all call logging and method counters.

void $reset()
security = getMockBox().createMock("model.security").$("isValidUser", true);
security.isValidUser( mockUser );

// now clear out all call logs and test again
security.$reset();
mockUser.$property("authorized","variables",true);
security.isValidUser( mockUser );

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC