Code Duplication    Length = 8-8 lines in 2 locations

Tests/Services/AzineWebViewServiceTest.php 1 location

@@ 80-87 (lines=8) @@
77
    /**
78
     * @param string $name
79
     */
80
    private static function getMethod($name)
81
    {
82
        $class = new \ReflectionClass("Azine\EmailBundle\Services\AzineWebViewService");
83
        $method = $class->getMethod($name);
84
        $method->setAccessible(true);
85
86
        return $method;
87
    }
88
}
89

Tests/Services/AzineNotifierServiceTest.php 1 location

@@ 269-276 (lines=8) @@
266
    /**
267
     * @param string $name
268
     */
269
    private static function getMethod($name)
270
    {
271
        $class = new \ReflectionClass("Azine\EmailBundle\Services\AzineNotifierService");
272
        $method = $class->getMethod($name);
273
        $method->setAccessible(true);
274
275
        return $method;
276
    }
277
278
}
279