example for auto mocking