public class CObjectOrderingTest {
private static final Logger logger = LoggerFactory.getLogger(CObjectOrderingTest.class);
@Test
public void testFromString() {
CObjectOrdering ordering;
ordering = CObjectOrdering.fromString("ASC");
assertEquals(CObjectOrdering.ASCENDING, ordering);
ordering = CObjectOrdering.fromString("DESC");
assertEquals(CObjectOrdering.DESCENDING, ordering);
}