mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 18:54:39 +01:00
Add more tests for SpecificMethodsRector
This commit is contained in:
parent
10d139b282
commit
bd48186669
@ -5,5 +5,13 @@ final class MyTest extends \PHPUnit\Framework\TestCase
|
||||
public function test()
|
||||
{
|
||||
$this->assertIsReadable('...', 'second argument');
|
||||
$this->assertArrayHasKey('...', ['...'], 'second argument');
|
||||
$this->assertEmpty('...', 'second argument');
|
||||
$this->assertFileExists('...', 'second argument');
|
||||
$this->assertDirectoryExists('...', 'second argument');
|
||||
$this->assertInfinite('...', 'second argument');
|
||||
$this->assertNull('...', 'second argument');
|
||||
$this->assertIsWritable('...', 'second argument');
|
||||
$this->assertNan('...', 'second argument');
|
||||
}
|
||||
}
|
||||
|
@ -5,5 +5,13 @@ final class MyTest extends \PHPUnit\Framework\TestCase
|
||||
public function test()
|
||||
{
|
||||
$this->assertTrue(is_readable('...'), 'second argument');
|
||||
$this->assertTrue(array_key_exists('...', ['...']), 'second argument');
|
||||
$this->assertTrue(empty('...'), 'second argument');
|
||||
$this->assertTrue(file_exists('...'), 'second argument');
|
||||
$this->assertTrue(is_dir('...'), 'second argument');
|
||||
$this->assertTrue(is_infinite('...'), 'second argument');
|
||||
$this->assertTrue(is_null('...'), 'second argument');
|
||||
$this->assertTrue(is_writable('...'), 'second argument');
|
||||
$this->assertTrue(is_nan('...'), 'second argument');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user