Converted 2 assertions to use native phpunit assertions
Merge pull request #5973 from GrahamCampbell/4.2-test-assertions

[4.2] Converted 2 Assertions To Use Native PHPUnit Assertions