1 | <?php |
||
22 | class TaxonContextSpec extends ObjectBehavior |
||
23 | { |
||
24 | function let(TaxonRepositoryInterface $taxonRepository) |
||
28 | |||
29 | function it_is_initializable() |
||
33 | |||
34 | function it_implements_context_interface() |
||
38 | |||
39 | function it_returns_taxon_by_name($taxonRepository, TaxonInterface $taxon) |
||
45 | |||
46 | function it_throws_exception_if_taxon_with_given_name_does_not_exist($taxonRepository) |
||
55 | } |
||
56 |