diff --git a/tests/Config/ConfigurationTest.php b/tests/Config/ConfigurationTest.php deleted file mode 100644 index c180930..0000000 --- a/tests/Config/ConfigurationTest.php +++ /dev/null @@ -1,45 +0,0 @@ -configuration = new Configuration(true); - $this->processor = new Processor(); - } - - public function testThrowsIfNameIsEmpty() - { - $config = $this->getValidConfig(); - $config['name'] = ''; - $this->expectException(\Exception::class); - $this->validateConfig($config); - } - - private function validateConfig(array $config): array - { - return $this->processor->processConfiguration($this->configuration, [$config]); - } - - private function getValidConfig(): array - { - return [ - 'name' => 'Boris', - ]; - } -} -