factory = shouldBeSorted(1, array("b", "c", "a"));
}
@Test
public void should_create_error_message() {
String message = factory.create(new TestDescription("Test"));
assertEquals("[Test] group is not sorted because element 1:<'c'> is not less or equal than element 2:<'a'>.\n"
+ "group was:\n" + "<['b', 'c', 'a']>", message);
}