public function Framework_MockObjectTest::testOriginalCloneSettingConsidered in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/tests/MockObjectTest.php \Framework_MockObjectTest::testOriginalCloneSettingConsidered()
File
- vendor/
phpunit/ phpunit-mock-objects/ tests/ MockObjectTest.php, line 367
Class
- Framework_MockObjectTest
- @since Class available since Release 3.0.0
Code
public function testOriginalCloneSettingConsidered() {
$mock1 = $this
->getMock('PartialMockTestClass');
$mock2 = $this
->getMock('PartialMockTestClass', array(), array(), '', true, false);
$this
->assertNotEquals(get_class($mock1), get_class($mock2));
}