public function MemoryDataCollectorTest::testBytesConversion in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/DataCollector/MemoryDataCollectorTest.php \Symfony\Component\HttpKernel\Tests\DataCollector\MemoryDataCollectorTest::testBytesConversion()
@dataProvider getBytesConversionTestData
File
- vendor/
symfony/ http-kernel/ Tests/ DataCollector/ MemoryDataCollectorTest.php, line 31
Class
Namespace
Symfony\Component\HttpKernel\Tests\DataCollectorCode
public function testBytesConversion($limit, $bytes) {
$collector = new MemoryDataCollector();
$method = new \ReflectionMethod($collector, 'convertToBytes');
$method
->setAccessible(true);
$this
->assertEquals($bytes, $method
->invoke($collector, $limit));
}