title: How to test a Symfony application that depends of an API
body: <p>I have two Symfony projects (a back application and an API).</p>
  <p>The back application is the graphic side, it just call API.</p>
  <p>The API is connected to database.</p>
  <p>I would like to test my back : currently, at each test, I make an API call to reload the database but I have the impression that I make it wrong.... and moreover it's so slow...</p>
  <p>There is a better solution ?</p>
  <p>Thanks</p>