sebastianbergmann/phpunit-mock-objects — Issue #83: getMockFromWsdl can not be used twice
Author: rrehbeindoi
Created: 2012-02-14 15:34:43+00:00
State: open

Creating a mock from wsdl for two separate tests creates a fatal error

```PHP

public function setUp()
{
$client = $this->getMockFromWsdl('..../sample.wsdl');
}

public function testA()
{
// Works fine
}

public function testB()
{
// Fatal error, due to setUp attempting to redefine class 'sample' in getMockFromWsdl
}

```