PHP Class spec\Fenos\Notifynder\Categories\CategoryManagerSpec

Inheritance: extends PhpSpec\ObjectBehavior
显示文件 Open project: fenos/notifynder

Public Methods

Method Description
it_delete_a_category_by_id ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
it_delete_a_category_by_name ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
it_find_a_category_by_name ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
it_is_initializable ( )
it_store_a_category ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
it_try_to_find_a_non_existing_category ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
let ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )

Method Details

it_delete_a_category_by_id() public method

public it_delete_a_category_by_id ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
$categoryRepository Fenos\Notifynder\Contracts\CategoryDB

it_delete_a_category_by_name() public method

public it_delete_a_category_by_name ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
$categoryRepository Fenos\Notifynder\Contracts\CategoryDB

it_find_a_category_by_name() public method

public it_find_a_category_by_name ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
$categoryRepository Fenos\Notifynder\Contracts\CategoryDB

it_is_initializable() public method

public it_is_initializable ( )

it_store_a_category() public method

public it_store_a_category ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
$categoryRepository Fenos\Notifynder\Contracts\CategoryDB

it_try_to_find_a_non_existing_category() public method

public it_try_to_find_a_non_existing_category ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
$categoryRepository Fenos\Notifynder\Contracts\CategoryDB

let() public method

public let ( Fenos\Notifynder\Contracts\CategoryDB $categoryRepository )
$categoryRepository Fenos\Notifynder\Contracts\CategoryDB