diff --git a/tests/CallableResolverTest.php b/tests/CallableResolverTest.php
index <HASH>..<HASH> 100644
--- a/tests/CallableResolverTest.php
+++ b/tests/CallableResolverTest.php
@@ -13,7 +13,9 @@ use Prophecy\Argument;
 use Prophecy\Prophecy\ObjectProphecy;
 use Psr\Container\ContainerInterface;
 use Slim\CallableResolver;
+use Slim\Interfaces\ErrorRendererInterface;
 use Slim\Tests\Mocks\CallableTest;
+use Slim\Tests\Mocks\ErrorRendererTest;
 use Slim\Tests\Mocks\InvokableTest;
 use Slim\Tests\Mocks\RequestHandlerTest;
 
@@ -158,6 +160,16 @@ class CallableResolverTest extends TestCase
         $this->assertEquals('custom', $callable[1]);
     }
 
+    public function testObjErrorRendererClass()
+    {
+        $obj = new ErrorRendererTest();
+        $resolver = $this->getCallableResolver();
+        $callable = $resolver->resolve($obj);
+
+        $this->assertIsCallable($callable);
+        $this->assertInstanceOf(ErrorRendererInterface::class, $callable[0]);
+    }
+
     /**
      * @expectedException \RuntimeException
      */
Add test case if the object to be resolved is an instance of an error renderer