Test base class
minor #522 Test base class (keradus)

This PR was squashed before being merged into the 1.0.x-dev branch (closes #522).

Discussion
----------

Test base class

So many code was repeated again and again.
Hate it...

Commits
-------

80eca39 Test base class
Merge branch 'master' into structure_braces

Conflicts:
	Symfony/CS/Tests/Fixer/PSR2/CurlyBracketsNewlineFixerTest.php