We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 17 | class ResolverTest extends \PHPUnit_Framework_TestCase |
||
| 18 | { |
||
| 19 | private $privatePropertyWithoutGetter = 'ImNotAccessibleFromOutside:D'; |
||
| 20 | |||
| 21 | private $privatePropertyWithGetter = 'IfYouWantMeUseMyGetter'; |
||
| 22 | |||
| 23 | private $private_property_with_getter2 = 'IfYouWantMeUseMyGetter2'; |
||
| 24 | |||
| 25 | public $public = 'public'; |
||
| 26 | |||
| 27 | public $closureProperty; |
||
| 28 | |||
| 29 | public function setUp() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param $fieldName |
||
| 38 | * @param $source |
||
| 39 | * @param $expected |
||
| 40 | * |
||
| 41 | * @dataProvider resolverProvider |
||
| 42 | */ |
||
| 43 | public function testDefaultResolveFn($fieldName, $source, $expected) |
||
| 49 | |||
| 50 | public function resolverProvider() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | public function getPrivatePropertyWithGetter() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return string |
||
| 73 | */ |
||
| 74 | public function getPrivatePropertyWithGetter2() |
||
| 78 | } |
||
| 79 |