Use `$this->assertInternalType('array', $result);` for better assertion messages.