I have a very small test suite for testing CRUD operations on a REST API. My controller displays a form, table, etc, based on the information provided by the API. My test class create a new Buzz object and makes requests to the API server.
Unfortunately, this sucks, because if i update or delete something, it is deleted in the API. This is a very bad test practice. How can i unit test my application, when using an external data source like this?