Phalcon\Test\Annotations\Adapter\AerospikeTest::providerInvalidConstructor PHP 메소드

providerInvalidConstructor() 공개 메소드

    public function providerInvalidConstructor()
    {
        return [[[], 'Phalcon\\Annotations\\Exception', 'No hosts given in options'], [['hosts' => null], 'Phalcon\\Annotations\\Exception', 'No hosts given in options'], [['hosts' => []], 'Phalcon\\Annotations\\Exception', 'No hosts given in options'], [['hosts' => [[]]], 'Phalcon\\Cache\\Exception', 'Aerospike failed to connect [-2]: Unable to find host parameter']];
    }