PHP Class Snc\RedisBundle\Tests\CommandTestCase

Author: Sebastian Göttschkes ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: snc/SncRedisBundle Class Usage Examples

Protected Properties

Свойство Type Description
$application Symfony\Bundle\FrameworkBundle\Console\Application
$container Symfony\Component\DependencyInjection\ContainerInterface
$phpredisClient Snc\RedisBundle\Client\Phpredis\Client
$predisClient Predis\Client

Méthodes publiques

Méthode Description
setUp ( ) SetUp called before each tests, setting up the environment (application, globally used mocks)

Méthodes protégées

Méthode Description
getCommand ( ) : mixed Method used by the implementation of the command test to return the actual command object
registerPhpredisClient ( )
registerPredisClient ( )

Method Details

getCommand() abstract protected méthode

Method used by the implementation of the command test to return the actual command object
abstract protected getCommand ( ) : mixed
Résultat mixed The command to be tested

registerPhpredisClient() protected méthode

protected registerPhpredisClient ( )

registerPredisClient() protected méthode

protected registerPredisClient ( )

setUp() public méthode

SetUp called before each tests, setting up the environment (application, globally used mocks)
public setUp ( )

Property Details

$application protected_oe property

protected Application,Symfony\Bundle\FrameworkBundle\Console $application
Résultat Symfony\Bundle\FrameworkBundle\Console\Application

$container protected_oe property

protected ContainerInterface,Symfony\Component\DependencyInjection $container
Résultat Symfony\Component\DependencyInjection\ContainerInterface

$phpredisClient protected_oe property

protected Client,Snc\RedisBundle\Client\Phpredis $phpredisClient
Résultat Snc\RedisBundle\Client\Phpredis\Client

$predisClient protected_oe property

protected Client,Predis $predisClient
Résultat Predis\Client