Elgg\Cache\LRUCacheTest::testThrowExceptionOnNegativeSize PHP Méthode

testThrowExceptionOnNegativeSize() public méthode

    public function testThrowExceptionOnNegativeSize()
    {
        $this->setExpectedException('\\InvalidArgumentException');
        $pool = new LRUCache(-2);
    }