Completed
Pull Request — master (#1158)
by Christian
10:25 queued 07:20
created
Tests/Twig/Extension/MediaExtensionTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
         $mediaExtension->thumbnail($media, $format, $options);
81 81
     }
82 82
 
83
+    /**
84
+     * @return Sonata\MediaBundle\Provider\Pool
85
+     */
83 86
     public function getMediaService()
84 87
     {
85 88
         $mediaService = $this->getMockBuilder('Sonata\MediaBundle\Provider\Pool')
@@ -90,6 +93,9 @@  discard block
 block discarded – undo
90 93
         return $mediaService;
91 94
     }
92 95
 
96
+    /**
97
+     * @return Sonata\CoreBundle\Model\ManagerInterface
98
+     */
93 99
     public function getMediaManager()
94 100
     {
95 101
         return $this->getMock('Sonata\CoreBundle\Model\ManagerInterface');
@@ -114,6 +120,9 @@  discard block
 block discarded – undo
114 120
         return $this->template;
115 121
     }
116 122
 
123
+    /**
124
+     * @return Twig_Environment
125
+     */
117 126
     public function getEnvironment()
118 127
     {
119 128
         if (is_null($this->environment)) {
Please login to merge, or discard this patch.