diff --git a/tests/AppTest.php b/tests/AppTest.php
index <HASH>..<HASH> 100644
--- a/tests/AppTest.php
+++ b/tests/AppTest.php
@@ -8,6 +8,7 @@
  */
 namespace Slim\Tests;
 
+use Prophecy\Argument;
 use Psr\Container\ContainerInterface;
 use Psr\Http\Message\ResponseInterface;
 use Psr\Http\Message\ServerRequestInterface;
@@ -33,6 +34,16 @@ class AppTest extends TestCase
         ini_set('error_log', tempnam(sys_get_temp_dir(), 'slim'));
     }
 
+    public function testDoesNotUseContainerAsServiceLocator()
+    {
+        $containerProphecy = $this->prophesize(ContainerInterface::class);
+        $responseFactory = $this->getResponseFactory();
+        $app = new App($responseFactory, $containerProphecy->reveal());
+
+        $containerProphecy->has(Argument::type('string'))->shouldNotHaveBeenCalled();
+        $containerProphecy->get(Argument::type('string'))->shouldNotHaveBeenCalled();
+    }
+
     /********************************************************************************
      * Getter methods
      *******************************************************************************/
AppTest: Assert that the constructor doesn't use ContainerInterface as service collector