Converts all HTML entities to their applicable characters as needed using PHPs html_entity_decode() function.
/** * @test */ public function renderDoesNotModifySourceIfItIsAnObjectThatCantBeConvertedToAString() { $user = new UserWithoutToString('Xaver <b>Cross-Site</b>'); $actualResult = $this->viewHelper->render($user); $this->assertSame($user, $actualResult); }