We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 18 | class TypeBuilderTest extends \PHPUnit_Framework_TestCase |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var TypeBuilder |
||
| 22 | */ |
||
| 23 | private $typeBuilder; |
||
| 24 | |||
| 25 | public function setUp() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param $type |
||
| 32 | * @param array $config |
||
| 33 | * @param $expectedInstanceOf |
||
| 34 | * |
||
| 35 | * @dataProvider getCreateDataProvider |
||
| 36 | */ |
||
| 37 | public function testCreate($type, array $config, $expectedInstanceOf) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @expectedException \RuntimeException |
||
| 46 | * @expectedExceptionMessage Type "toto" is not managed. |
||
| 47 | */ |
||
| 48 | public function testCreateInvalidType() |
||
| 52 | |||
| 53 | public function getCreateDataProvider() |
||
| 73 | } |
||
| 74 |