Assert that a inbound path is altered to an expected value.
$original: A string with the aliased or un-normal path that is run through drupal_get_normal_path().
$final: A string with the expected result after url().
TRUE if $original was correctly altered to $final, FALSE otherwise.
protected function assertUrlInboundAlter($original, $final) {
// Test inbound altering.
$result = drupal_get_normal_path($original);
$this
->assertIdentical($result, $final, format_string('Altered inbound URL %original, expected %final, and got %result.', array(
'%original' => $original,
'%final' => $final,
'%result' => $result,
)));
}