| 1 | <?php |
||
| 16 | class BridgeTest extends WebTestCase |
||
| 17 | { |
||
| 18 | const TEST_CASE_NAME = 'Bridge'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @expectedException \Superdesk\ContentApiSdk\Exception\ContentApiException |
||
| 22 | * @dataProvider getConfigs |
||
| 23 | */ |
||
| 24 | public function testIndexForCallToInvalidEndpoints($config) |
||
| 30 | |||
| 31 | public function getConfigs() |
||
| 37 | |||
| 38 | public static function setUpBeforeClass() |
||
| 42 | |||
| 43 | public static function tearDownAfterClass() |
||
| 47 | } |
||
| 48 |
This check looks for a call to a parent method whose name is different than the method from which it is called.
Consider the following code:
The
getFirstName()method in theSoncalls the wrong method in the parent class.