diff --git a/tests/Pagination/PaginatorAdapterTest.php b/tests/Pagination/PaginatorAdapterTest.php
index <HASH>..<HASH> 100644
--- a/tests/Pagination/PaginatorAdapterTest.php
+++ b/tests/Pagination/PaginatorAdapterTest.php
@@ -81,6 +81,13 @@ class PaginatorAdapterTest extends PHPUnit_Framework_TestCase
         $metadata->containsForeignIdentifier = false;
         $metadata->identifier                = ['id'];
 
+        $metadata->table = [
+            'name'              => 'foos',
+            'schema'            => '',
+            'indexes'           => [],
+            'uniqueConstraints' => []
+        ];
+
         $metadata->shouldReceive('isInheritanceTypeSingleTable')->andReturn(false);
         $metadata->shouldReceive('isInheritanceTypeJoined')->andReturn(false);
         $metadata->shouldReceive('getTableName')->andReturn('fooes');
table was null, causing a test failiure on PHP <I>