As a cloud developer, you are developing a large Python application and using the PyTest framework for unit testing. One of the functions in your application retrieves data from a Google Cloud SQL database. What is the best approach to unit test this function?