You are here

public function Framework_MockObjectTest::testCreateNamespacedMockFromWsdl in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit-mock-objects/tests/MockObjectTest.php \Framework_MockObjectTest::testCreateNamespacedMockFromWsdl()

@requires extension soap

File

vendor/phpunit/phpunit-mock-objects/tests/MockObjectTest.php, line 781

Class

Framework_MockObjectTest
@since Class available since Release 3.0.0

Code

public function testCreateNamespacedMockFromWsdl() {
  $mock = $this
    ->getMockFromWsdl(__DIR__ . '/_fixture/GoogleSearch.wsdl', 'My\\Space\\WsdlMock');
  $this
    ->assertStringStartsWith('Mock_WsdlMock_', get_class($mock));
}