Implemented assertCalledBefore() and assertCalledAfter().