please call that method doTestReader instead and make the eolMarker non-optional. if it starts with `test` it will be executed by phpunit. the __construct looks ugly and its a lie anyways, as it tests the whole reader, not just the constructor.