1 | <?php |
||
20 | class ContentEditableExtensionTest extends \PHPUnit_Framework_TestCase |
||
21 | { |
||
22 | /** |
||
23 | * @var EditorInterface|\PHPUnit_Framework_MockObject_MockObject |
||
24 | */ |
||
25 | private $editor; |
||
26 | |||
27 | /** |
||
28 | * @var ContentManagerInterface|\PHPUnit_Framework_MockObject_MockObject |
||
29 | */ |
||
30 | private $manager; |
||
31 | |||
32 | /** |
||
33 | * @var AuthorizationCheckerInterface|\PHPUnit_Framework_MockObject_MockObject |
||
34 | */ |
||
35 | private $authorizationChecker; |
||
36 | |||
37 | /** |
||
38 | * @var ContentEditableExtension |
||
39 | */ |
||
40 | private $extension; |
||
41 | |||
42 | public function setUp() |
||
50 | |||
51 | /** |
||
52 | * @dataProvider getRenderContentEditableTestData |
||
53 | * |
||
54 | * @param string $expectedText |
||
55 | * @param string $text |
||
56 | * @param string $name |
||
57 | * @param array $options |
||
58 | * @param bool $isAuthorized |
||
59 | * @param string $message |
||
60 | */ |
||
61 | public function testRenderContentEditable($expectedText, $text, $name, $options, $isAuthorized, $message) |
||
85 | |||
86 | /** |
||
87 | * @return array |
||
88 | */ |
||
89 | public function getRenderContentEditableTestData() |
||
96 | } |
||
97 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.