File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Netgen \Bundle \EnhancedBinaryFileBundle \Tests \DependencyInjection ;
4+
5+
6+ use Matthias \SymfonyConfigTest \PhpUnit \ConfigurationTestCaseTrait ;
7+ use Netgen \Bundle \EnhancedBinaryFileBundle \DependencyInjection \Configuration ;
8+ use PHPUnit \Framework \TestCase ;
9+
10+ class ConfigurationTest extends TestCase
11+ {
12+ use ConfigurationTestCaseTrait;
13+
14+ protected function getConfiguration ()
15+ {
16+ return new Configuration ();
17+ }
18+
19+ public function testConfigurationValuesAreOkAndValid ()
20+ {
21+ $ this ->assertConfigurationIsValid (
22+ [
23+ 'netgen_enhanced_ez_binary_file ' => [
24+
25+ ],
26+ ]
27+ );
28+ }
29+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Netgen \Bundle \EnhancedBinaryFileBundle \Tests \DependencyInjection ;
4+
5+ use Matthias \SymfonyDependencyInjectionTest \PhpUnit \AbstractExtensionTestCase ;
6+ use Netgen \Bundle \EnhancedBinaryFileBundle \DependencyInjection \NetgenEnhancedBinaryFileExtension ;
7+
8+ class NetgenEnhancedBinaryFileExtensionTest extends AbstractExtensionTestCase
9+ {
10+ public function testItSetsValidContainerParameters ()
11+ {
12+ $ this ->load ();
13+ }
14+
15+ protected function getContainerExtensions ()
16+ {
17+ return array (
18+ new NetgenEnhancedBinaryFileExtension (),
19+ );
20+ }
21+
22+ protected function getMinimalConfiguration ()
23+ {
24+ return [];
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments