public function testGetThrowsException() {
$c = new ProjectServiceContainer();
try {
$c
->get('throw_exception');
$this
->fail();
} catch (\Exception $e) {
$this
->assertEquals('Something went terribly wrong!', $e
->getMessage());
}
try {
$c
->get('throw_exception');
$this
->fail();
} catch (\Exception $e) {
$this
->assertEquals('Something went terribly wrong!', $e
->getMessage());
}
}