You are here

public function Framework_MockBuilderTest::testByDefaultDoesNotPassArgumentsToTheConstructor in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/tests/MockBuilderTest.php \Framework_MockBuilderTest::testByDefaultDoesNotPassArgumentsToTheConstructor()

File

vendor/phpunit/phpunit-mock-objects/tests/MockBuilderTest.php, line 40

Class

Framework_MockBuilderTest
@since File available since Release 1.0.0

Code

public function testByDefaultDoesNotPassArgumentsToTheConstructor() {
  $spec = $this
    ->getMockBuilder('Mockable');
  $mock = $spec
    ->getMock();
  $this
    ->assertEquals(array(
    null,
    null,
  ), $mock->constructorArgs);
}