title: Alternative to the now-abandoned dbunit extension?
body: <p>So I can test code that uses a database using PHPUnit, I just installed the <a href="https://github.com/sebastianbergmann/dbunit" rel="noreferrer">DbUnit extension</a> using Composer, and I get the following message:</p>
  
  <blockquote>
    <p>Package phpunit/dbunit is abandoned, you should avoid using it. No
    replacement was suggested.</p>
  </blockquote>
  
  <p>I've seen <a href="https://github.com/sebastianbergmann/dbunit/issues/217" rel="noreferrer">the issue on the extension being abandoned</a>, and people talk of rolling your own database testing code, but they don't go into any more details. Is there a recommended way to test database code using PHPUnit, or does anyone know of any examples?</p>
  
  <p>(I did open <a href="https://github.com/sebastianbergmann/phpunit/issues/3477" rel="noreferrer">an issue</a> and asked the author of PHPUnit this, but his reply was quick and to the point - "No, there is not.") :-/</p>