mock: basic usage