@Test
public void testProcessTimes() {

    try {
        List<String> results;
        results = processor.processSearchString(day);
        assertEquals(1, results.size());
        assertEquals("day", results.get(0));
        results = processor.processSearchString(hours);
        assertEquals(1, results.size());
        assertEquals("hours", results.get(0));
        results = processor.processSearchString(week);
        assertEquals(1, results.size());
        assertEquals("week", results.get(0));
        results = processor.processSearchString(decimal);
        assertEquals(1, results.size());
        assertEquals("days", results.get(0));
        results = processor.processSearchString(hyperploidyExample);
        assertEquals(1, results.size());
        // hyperdiploidy example could be the unit for the numeric range that follows it; expect search string with numbers ripped out
        assertEquals("hyperdiploidy,-X,-q,+,-,-q,+,+(),+(),+,-q,+,-", results.get(0));
    }
    catch (Exception e) {
        e.printStackTrace();
        fail();
    }
}