/** * Test deregistering an unknown environment * * @return void * @author Dan Cox */ public function test_deregisterFail() { $this->setExpectedException('Wasp\\Exceptions\\Application\\UnknownEnvironment'); $app = new Application(); $app->deregisterEnvironment('TestEnv'); }