PHP Class Eko\FeedBundle\Tests\Service\FeedDumpServiceTest

Author: Vincent Composieux ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: eko/feedbundle

Protected Properties

Свойство Type Description
$entityManager Doctrine\ORM\EntityManagerInterface
$feedManager Eko\FeedBundle\Feed\FeedManager
$filesystem Symfony\Component\Filesystem\Filesystem
$service Eko\FeedBundle\Service\FeedDumpService

Méthodes publiques

Méthode Description
setUp ( ) Sets up a dump service.
testDumpWithAnEntity ( ) Tests the dump() method with an entity.
testDumpWithInvalidOrder ( ) Tests the dump() method with an invalid order Should throw a \InvalidArgumentException.
testDumpWithoutItemsOrEntity ( ) Tests the dump() method without any items or entity set.

Method Details

setUp() public méthode

Sets up a dump service.
public setUp ( )

testDumpWithAnEntity() public méthode

Tests the dump() method with an entity.

testDumpWithInvalidOrder() public méthode

Tests the dump() method with an invalid order Should throw a \InvalidArgumentException.

testDumpWithoutItemsOrEntity() public méthode

Tests the dump() method without any items or entity set.

Property Details

$entityManager protected_oe property

protected EntityManagerInterface,Doctrine\ORM $entityManager
Résultat Doctrine\ORM\EntityManagerInterface

$feedManager protected_oe property

protected FeedManager,Eko\FeedBundle\Feed $feedManager
Résultat Eko\FeedBundle\Feed\FeedManager

$filesystem protected_oe property

protected Filesystem,Symfony\Component\Filesystem $filesystem
Résultat Symfony\Component\Filesystem\Filesystem

$service protected_oe property

protected FeedDumpService,Eko\FeedBundle\Service $service
Résultat Eko\FeedBundle\Service\FeedDumpService