mocks need not be methods