Elgg\Cache\LRUCacheTest::testThrowExceptionOnNegativeSize PHP Method

testThrowExceptionOnNegativeSize() public method

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