Unit test can fail due to random list ordering

Description

Unit test shouldMatchCompositeStepsAndCreateComposedNestedSteps fails for me, this is due to some environment difference either with the java version, class loader or something like that, because the List returned by steps.listCandidates is not necessarily ordered according to the order of the methods in the steps class.
When I run the test in Eclipse debugger, the order is as expected, when I run the test normal in maven or in Eclipse, it fails since the expected step is at the end of the list.

I have changed the unit test to look for the correct step, this way the test should always pass.

Assignee

Unassigned

Reporter

Alexander Lehmann

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure