/** * @covers ::getEnvironmentList * @expectedException \RuntimeException */ public function testEnvironmentListWillThrowExceptionIfPropertyNotSet() { $application = new Application('test'); $application->getEnvironmentList(); }