Created a DBMock with testify.