mocking abstract methods