- $this->assertIdentical('admin', $comment->getAuthorName());
- $this->assertIdentical('admin@local.host', $comment->getAuthorEmail());
- $this->assertIdentical('This is a comment', $comment->comment_body->value);
- $this->assertIdentical('filtered_html', $comment->comment_body->format);
- $this->assertEquals('2001:db8:ffff:ffff:ffff:ffff:ffff:ffff', $comment->getHostname());
+ $this->assertSame('admin', $comment->getAuthorName());
+ $this->assertSame('admin@local.host', $comment->getAuthorEmail());
+ $this->assertSame('This is a comment', $comment->comment_body->value);
+ $this->assertSame('filtered_html', $comment->comment_body->format);
+ $this->assertSame('2001:db8:ffff:ffff:ffff:ffff:ffff:ffff', $comment->getHostname());