PHP Class Sulu\Bundle\CategoryBundle\Behat\CategoryContext

Inheritance: extends Sulu\Bundle\TestBundle\Behat\BaseContext, implements Behat\Behat\Context\SnippetAcceptingContext
Show file Open project: sulu/sulu

Public Methods

Method Description
theCategoryExists ( $name )
theCategoryShouldExist ( $name )
theCategoryShouldNotExist ( $name )

Protected Methods

Method Description
getCategoryManager ( ) : Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface Return the category manager.

Method Details

getCategoryManager() protected method

Return the category manager.
protected getCategoryManager ( ) : Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface
return Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface

theCategoryExists() public method

public theCategoryExists ( $name )

theCategoryShouldExist() public method

public theCategoryShouldExist ( $name )

theCategoryShouldNotExist() public method

public theCategoryShouldNotExist ( $name )