Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | public function testSetProvider(): void { |
||
32 | |||
33 | // Set a DataTables provider mock. |
||
34 | $provider = $this->getMockBuilder(DataTablesProviderInterface::class)->getMock(); |
||
35 | |||
36 | $obj = new TestDataTablesProviderTrait(); |
||
37 | |||
38 | $obj->setProvider($provider); |
||
39 | $this->assertSame($provider, $obj->getProvider()); |
||
40 | } |
||
42 |