Skip to content
Browse files

- Fix #93.

  • Loading branch information...
1 parent 08a7578 commit ac4521f6e802da17c4d8f4d9f02ea41aa4709231 @sebastianbergmann committed
Showing with 0 additions and 18 deletions.
  1. +0 −18 PHPUnit/Tests/Framework/MockObjectTest.php
View
18 PHPUnit/Tests/Framework/MockObjectTest.php
@@ -118,24 +118,6 @@ public function testMockedMethodIsCalledExactly()
$mock->doSomething();
}
- public function testStubbedException()
- {
- $mock = $this->getMock('AnInterface');
- $mock->expects($this->any())
- ->method('doSomething')
- ->will($this->throwException(new Exception));
-
- try {
- $mock->doSomething();
- }
-
- catch (Exception $e) {
- return;
- }
-
- $this->fail();
- }
-
public function testStubbedReturnValue()
{
$mock = $this->getMock('AnInterface');

0 comments on commit ac4521f

Please sign in to comment.
Something went wrong with that request. Please try again.