public function MemoryDataCollectorTest::testCollect 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::testCollect()
File
- vendor/
symfony/ http-kernel/ Tests/ DataCollector/ MemoryDataCollectorTest.php, line 20
Class
Namespace
Symfony\Component\HttpKernel\Tests\DataCollectorCode
public function testCollect() {
$collector = new MemoryDataCollector();
$collector
->collect(new Request(), new Response());
$this
->assertInternalType('integer', $collector
->getMemory());
$this
->assertInternalType('integer', $collector
->getMemoryLimit());
$this
->assertSame('memory', $collector
->getName());
}