Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function testWillCheckVisibleMethods() : void |
||
37 | { |
||
38 | $from = $this->createMock(ReflectionMethod::class); |
||
39 | $to = $this->createMock(ReflectionMethod::class); |
||
40 | |||
41 | $result = Changes::fromList(Change::changed(uniqid('foo', true), true)); |
||
42 | |||
43 | $this |
||
44 | ->functionCheck |
||
45 | ->expects(self::any()) |
||
46 | ->method('__invoke') |
||
47 | ->with($from, $to) |
||
48 | ->willReturn($result); |
||
49 | |||
50 | self::assertEquals($result, $this->methodCheck->__invoke($from, $to)); |
||
51 | } |
||
53 |