Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function testCreatesEntityMock(): void |
||
14 | { |
||
15 | $entityMock = EntityMock::create(TestObject::class); |
||
16 | |||
17 | /** @phpstan-ignore-next-line */ |
||
18 | $this->assertIsString($entityMock->foo); |
||
|
|||
19 | /** @phpstan-ignore-next-line */ |
||
20 | $this->assertIsInt($entityMock->bar); |
||
21 | /** @phpstan-ignore-next-line */ |
||
22 | $this->assertIsBool($entityMock->baz); |
||
23 | /** @phpstan-ignore-next-line */ |
||
24 | $this->assertIsString($entityMock->date); |
||
25 | } |
||
27 |