Rewrote mocked.t