PHP Class Sonata\Tests\Component\Currency\CurrencyDetectorTest

Author: Hugo Briand ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: sonata-project/ecommerce

Protected Properties

Свойство Type Description
$currency Sonata\Component\Currency\CurrencyInterface
$object Sonata\Component\Currency\CurrencyDetector

Méthodes publiques

Méthode Description
testConstruct ( )
testGetCurrency ( )

Méthodes protégées

Méthode Description
setUp ( ) Sets up the fixture, for example, opens a network connection.
tearDown ( ) Tears down the fixture, for example, closes a network connection.

Method Details

setUp() protected méthode

This method is called before a test is executed.
protected setUp ( )

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( )

testConstruct() public méthode

public testConstruct ( )

testGetCurrency() public méthode

public testGetCurrency ( )

Property Details

$currency protected_oe property

protected CurrencyInterface,Sonata\Component\Currency $currency
Résultat Sonata\Component\Currency\CurrencyInterface

$object protected_oe property

protected CurrencyDetector,Sonata\Component\Currency $object
Résultat Sonata\Component\Currency\CurrencyDetector