How to create automated tests for data stores

Question description

Hi, I am looking for a brief overview of automated testing in regards to data stores. I have been given automated tests for the business section of my web application, but I have nothing to test to the data. I am looking for an example. Thankyou