PopTest\Cache\MemcachedTest::testConstructorException PHP Method

testConstructorException() public method

    public function testConstructorException()
    {
        if (class_exists('Memcache')) {
            $c = Cache::factory(new Memcached('some-wrong-host'), 30);
        }
    }