20553c1afe
This reverts commit dccdeca258
.
14 lines
434 B
PHP
Executable file
14 lines
434 B
PHP
Executable file
<?php
|
|
|
|
interface SampleInterfaceWithHintInSignature {
|
|
function method(array $hinted);
|
|
}
|
|
|
|
class TestOfInterfaceMocksWithHintInSignature extends UnitTestCase {
|
|
function testBasicConstructOfAnInterfaceWithHintInSignature() {
|
|
Mock::generate('SampleInterfaceWithHintInSignature');
|
|
$mock = new MockSampleInterfaceWithHintInSignature();
|
|
$this->assertIsA($mock, 'SampleInterfaceWithHintInSignature');
|
|
}
|
|
}
|
|
|