Mercurial > hg > isophonics-drupal-site
comparison vendor/phpunit/phpunit-mock-objects/tests/MockObjectTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
940 $this->assertStringStartsWith('Mock_GoogleSearch_', get_class($a)); | 940 $this->assertStringStartsWith('Mock_GoogleSearch_', get_class($a)); |
941 $this->assertEquals(get_class($a), get_class($b)); | 941 $this->assertEquals(get_class($a), get_class($b)); |
942 } | 942 } |
943 | 943 |
944 /** | 944 /** |
945 * @requires extension soap | |
946 */ | |
947 public function testCreateMockOfWsdlFileWithSpecialChars() | |
948 { | |
949 $mock = $this->getMockFromWsdl(__DIR__ . '/_fixture/Go ogle-Sea.rch.wsdl'); | |
950 | |
951 $this->assertStringStartsWith('Mock_GoogleSearch_', get_class($mock)); | |
952 } | |
953 | |
954 /** | |
945 * @see https://github.com/sebastianbergmann/phpunit-mock-objects/issues/156 | 955 * @see https://github.com/sebastianbergmann/phpunit-mock-objects/issues/156 |
946 * @ticket 156 | 956 * @ticket 156 |
947 */ | 957 */ |
948 public function testInterfaceWithStaticMethodCanBeStubbed() | 958 public function testInterfaceWithStaticMethodCanBeStubbed() |
949 { | 959 { |