fixing mocking declaration