Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 417 Bytes

File metadata and controls

20 lines (13 loc) · 417 Bytes

$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 );