exception = new NotFoundException(); } /** * Tears down the fixture. * This method is called after a test is executed. * * @access protected * @return void */ protected function tearDown() { unset($this->exception); } /** * Test for NotFoundException * * @return void */ public function testNotFoundExceptionImplementsInteface() { $this->assertInstanceOf( 'Psr\Container\NotFoundExceptionInterface', $this->exception ); } /** * Test for NotFoundException * * @return void */ public function testNotFoundExceptionExtendsContainerExceptionInteface() { $this->assertInstanceOf( 'Psr\Container\ContainerExceptionInterface', $this->exception ); } /** * Test for NotFoundException * * @return void */ public function testContainerExceptionExtendsException() { $this->assertInstanceOf( 'Exception', $this->exception ); } }