1 | <?php |
||
9 | class LAShowroomTaxJarExtensionTest extends \PHPUnit_Framework_TestCase |
||
10 | { |
||
11 | /** |
||
12 | * @var LAShowroomTaxJarExtension |
||
13 | */ |
||
14 | private $extension; |
||
15 | |||
16 | /** |
||
17 | * Root name of the configuration |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | private $root; |
||
22 | |||
23 | public function setUp() |
||
30 | |||
31 | /** |
||
32 | * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException |
||
33 | * @expectedExceptionMessage The child node "api_token" at path "la_showroom_tax_jar" must be configured. |
||
34 | */ |
||
35 | public function testApiTokenRequired() |
||
39 | |||
40 | public function testApiTokenCorrectlySet() |
||
50 | |||
51 | public function testCacheServiceSet() |
||
70 | |||
71 | /** |
||
72 | * @return LAShowroomTaxJarExtension |
||
73 | */ |
||
74 | protected function getExtension() |
||
78 | |||
79 | /** |
||
80 | * @return ContainerBuilder |
||
81 | */ |
||
82 | private function getContainer() |
||
88 | } |
||
89 |