I noticed in #1935922: Convert PhpStorage tests to phpunit there's a lot of renaming from assertIdentical() in simpletest to assertSame() in PHPUnit.
We should probably rename this function wholesale for better compatibility with PHPUnit.
I think this would also be backportable, assuming it was just a wrapper and we didn't actually remove assertIdentical().