Explorar o código

Test interface

Thomas Rabaix %!s(int64=13) %!d(string=hai) anos
pai
achega
5bd2f28927
Modificáronse 1 ficheiros con 25 adicións e 0 borrados
  1. 25 0
      Tests/Model/ModelManagerTest.php

+ 25 - 0
Tests/Model/ModelManagerTest.php

@@ -0,0 +1,25 @@
+<?php
+
+/*
+ * This file is part of the Sonata package.
+ *
+ * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Sonata\DoctrineORMAdminBundle\Tests\Model;
+
+use Sonata\DoctrineORMAdminBundle\Model\ModelManager;
+
+class ModelManagerTest extends \PHPUnit_Framework_TestCase
+{
+    public function testFilterEmpty()
+    {
+        $registry = $this->getMock('Symfony\Bridge\Doctrine\RegistryInterface');
+
+        $manager = new ModelManager($registry);
+    }
+
+}