<?php

namespace Rector\PHPUnit\Tests\Rector\SpecificMethod\AssertTrueFalseToSpecificMethodRector\Fixture;

use PHPUnit\Framework\TestCase;

final class MyTest2 extends TestCase
{
    public function test()
    {
        $this->assertTrue(\array_search($foo, $this->bar->toArray()));
        $this->assertNotFalse(\array_search($foo, $this->bar->toArray()));
    }
}

?>
-----
<?php

namespace Rector\PHPUnit\Tests\Rector\SpecificMethod\AssertTrueFalseToSpecificMethodRector\Fixture;

use PHPUnit\Framework\TestCase;

final class MyTest2 extends TestCase
{
    public function test()
    {
        $this->assertContains($foo, $this->bar->toArray());
        $this->assertContains($foo, $this->bar->toArray());
    }
}

?>
