77use phpmock \Deactivatable ;
88
99/**
10- * Adds building a function mock functionality into PHPUnit_Framework_TestCase .
10+ * Adds building a function mock functionality into \PHPUnit\Framework\TestCase .
1111 *
12- * Use this trait in your PHPUnit_Framework_TestCase :
12+ * Use this trait in your \PHPUnit\Framework\TestCase :
1313 * <code>
1414 * <?php
1515 *
1616 * namespace foo;
1717 *
18- * use phpmock\phpunit\PHPMock;
19- *
20- * class FooTest extends \PHPUnit_Framework_TestCase
18+ * class FooTest extends \PHPUnit\Framework\TestCase
2119 * {
2220 *
23- * use PHPMock;
21+ * use \phpmock\phpunit\ PHPMock;
2422 *
2523 * public function testBar()
2624 * {
@@ -41,22 +39,22 @@ trait PHPMock
4139 /**
4240 * Returns a builder object to create mock objects using a fluent interface.
4341 *
44- * This method exists in PHPUnit_Framework_TestCase .
42+ * This method exists in \PHPUnit\Framework\TestCase .
4543 *
4644 * @param string $className Name of the class to mock.
4745 * @return \PHPUnit_Framework_MockObject_MockBuilder
48- * @see \PHPUnit_Framework_TestCase ::getMockBuilder()
46+ * @see \PHPUnit\Framework\TestCase ::getMockBuilder()
4947 * @internal
5048 */
5149 abstract protected function getMockBuilder ($ className );
5250
5351 /**
5452 * Returns the test result.
5553 *
56- * This method exists in PHPUnit_Framework_TestCase .
54+ * This method exists in \PHPUnit\Framework\TestCase .
5755 *
58- * @return \PHPUnit_Framework_TestResult The test result.
59- * @see \PHPUnit_Framework_TestCase ::getTestResultObject()
56+ * @return \PHPUnit\Framework\TestResult The test result.
57+ * @see \PHPUnit\Framework\TestCase ::getTestResultObject()
6058 * @internal
6159 */
6260 abstract protected function getTestResultObject ();
0 commit comments