title: ServiceNotFoundException when making unit test?
body: <p>I am following the tutorial here:</p>
  
  <p><a href="http://symfony.com/doc/current/testing.html" rel="nofollow">http://symfony.com/doc/current/testing.html</a></p>
  
  <p>I get a ServiceNotFoundException when running this line:</p>
  
  <pre><code>static::createClient();
  </code></pre>
  
  <p>The error comes from line 35 of</p>
  
  <pre><code>Symfony\Bundle\FrameworkBundle\Test\WebTestCase.php
  </code></pre>
  
  <p>which is</p>
  
  <pre><code>$client = static::$kernal-&gt;getContainer()-&gt;get('test.client');
  </code></pre>
  
  <p>So I'm guessing that a service called test.client is missing. How can I make that service available? Or is something else broken?</p>