AssertTrueFalseInternalTypeToSpecificMethodRector: add broken test on method call.

This commit is contained in:
Dorian Villet 2020-02-28 17:20:54 +01:00
parent 72be4f4450
commit cbdc4a1c2f

View File

@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace Rector\PHPUnit\Tests\Rector\SpecificMethod\AssertTrueFalseInternalTypeToSpecificMethodRector\Fixture;
final class Fixture2Test extends \PHPUnit\Framework\TestCase
{
public function testSomething(object $object): void
{
self::assertFalse($object->someMethod());
}
}