diff --git a/tests/PhpSpreadsheetTests/Reader/HTMLTest.php b/tests/PhpSpreadsheetTests/Reader/HTMLTest.php
index b1b51a59..ca85be9c 100644
--- a/tests/PhpSpreadsheetTests/Reader/HTMLTest.php
+++ b/tests/PhpSpreadsheetTests/Reader/HTMLTest.php
@@ -10,11 +10,7 @@ class HTMLTest extends PHPUnit_Framework_TestCase
public function testCsvWithAngleBracket()
{
$filename = __DIR__ . '/../../data/Reader/HTML/csv_with_angle_bracket.csv';
- $this->assertFalse($this->getInstance()->canRead($filename));
- }
-
- private function getInstance()
- {
- return new HTML();
+ $reader = new Html();
+ $this->assertFalse($reader->canRead($filename));
}
}