PHP Класс Doctrine\Test\DataFixtures\Sorter\TopologicalSorterTest
Note: When writing tests here consider that a lot of graph
constellations can have many valid orderings, so you may want to
build a graph that has only 1 valid order to simplify your tests