/** * @expectedException \Terminus\Exceptions\TerminusException * @expectedExceptionMessage There is no configuration option set with the key {key}. */ public function testGetConfig() { $format = $this->runner->getConfig('format'); $this->assertTrue(in_array($format, ['normal', 'json', 'silent', 'bash'])); $config = $this->runner->getConfig(); $this->assertInternalType('array', $config); $invalid = $this->runner->getConfig('invalid'); }