PHPUnit_Framework_Assert::assertSame
Asserts that two variables have the same type and value.
Used on objects, it asserts that two variables reference the same object.
Signature
public function assertSame(mixed
$expected,
[mixed
$actual = '',
[string
$message = '']] )
Parameters
$expected
— mixed$actual
— mixed$message
— string