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.