stub instead of should_receive and mocking logger