@Test
public void testOrdinals() {

    int[] ordinals = ordinalsOf(Dummy.THIRD, Dummy.SECOND, Dummy.FIRST);
    for (int i = 0; i < ordinals.length; i++) {
        assertEquals(Dummy.values().length - 1 - i, ordinals[i]);
    }
}