diff --git a/tests/DispatcherTest.php b/tests/DispatcherTest.php
index <HASH>..<HASH> 100644
--- a/tests/DispatcherTest.php
+++ b/tests/DispatcherTest.php
@@ -19,7 +19,7 @@ class DispatcherTest extends TestCase
             new FakeEndPointMiddleware(),
         ]);
 
-        $this->assertResponse('', $dispatcher->dispatch(new ServerRequest()));
+        $this->assertResponse('', $dispatcher(new ServerRequest()));
     }
 
     public function testMiddleware()
@@ -148,6 +148,28 @@ class DispatcherTest extends TestCase
         $dispatcher->dispatch(new ServerRequest());
     }
 
+    public function testInvalidStringMiddlewareException()
+    {
+        $this->expectException(InvalidArgumentException::class);
+
+        $dispatcher = new Dispatcher([
+            'invalid'
+        ]);
+
+        $dispatcher->dispatch(new ServerRequest());
+    }
+
+    public function testInvalidMatcherException()
+    {
+        $this->expectException(InvalidArgumentException::class);
+
+        $dispatcher = new Dispatcher([
+            [new Datetime(), new FakeMiddleware()]
+        ]);
+
+        $dispatcher->dispatch(new ServerRequest());
+    }
+
     private function assertResponse(string $body, ResponseInterface $response)
     {
         $this->assertEquals($body, (string) $response->getBody());
added tests for <I>% coverage