<?php/* * This file is part of Psy Shell. * * (c) 2012-2015 Justin Hileman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespacePsy\Test\Exception;usePsy\Exception\BreakException;usePsy\Exception\Exception;classBreakExceptionTestextends\PHPUnit_Framework_TestCase{publicfunctiontestInstance(){$e=newBreakException();$this->assertTrue($einstanceofException);$this->assertTrue($einstanceofBreakException);}publicfunctiontestMessage(){$e=newBreakException('foo');$this->assertContains('foo',$e->getMessage());$this->assertEquals('foo',$e->getRawMessage());}}