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

results matching ""

    No results matching ""