Merge pull request #2956 from gnutix/AssertTrueFalseInternalTypeToSpecificMethodRector/add-broken-test-method-call

AssertTrueFalseInternalTypeToSpecificMethodRector: add broken test method call
This commit is contained in:
Tomas Votruba 2020-02-29 01:23:55 +01:00 committed by GitHub
commit 8f3e90ba7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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());
}
}