1 | <?php |
||
22 | class TaxContextSpec extends ObjectBehavior |
||
23 | { |
||
24 | function let(RepositoryInterface $taxCategoryRepository) { |
||
27 | |||
28 | function it_is_initializable() |
||
32 | |||
33 | function it_implements_context_interface() |
||
37 | |||
38 | function it_casts_tax_category_name_to_tax_category($taxCategoryRepository, TaxCategoryInterface $taxCategory) |
||
44 | |||
45 | function it_throws_exception_if_there_is_no_tax_category_with_name_given_to_casting($taxCategoryRepository) |
||
54 | } |
||
55 |