### Question:
SpecimenCitationToPropertiesConverter implements QueryStringToPropertiesExtractor { @Override public Property[] extractProperties(String queryString) { LoggingStopWatch speedCheck = new Slf4JStopWatch("SpecimenCitationParsing:"+queryString, logger, Slf4JStopWatch.WARN_LEVEL).setTimeThreshold(250); speedCheck.stop(); return makeProperties(queryString); }  @Override Property[] extractProperties(String queryString);  }### Answer:
@Test @Ignore public void testExtractProperties() { QueryStringToPropertiesExtractor extractor = new SpecimenCitationToPropertiesConverter(); Property expectedCollectorName = new Property(); Property expectedCollectorNumber = new Property(); Property expectedCollectionDate = new Property(); Property expectedLocality = new Property(); Property expectedCountry = new Property(); Property expectedHerbarium = new Property(); expectedCollectorName.setP("collector_name"); expectedCollectorName.setPid("collector_name"); expectedCollectorNumber.setP("collector_number"); expectedCollectorNumber.setPid("collector_number"); expectedCollectionDate.setP("collection_date"); expectedCollectionDate.setPid("collection_date"); expectedLocality.setP("locality"); expectedLocality.setPid("locality"); expectedCountry.setP("country"); expectedCountry.setPid("country"); expectedHerbarium.setP("herbarium"); expectedHerbarium.setPid("herbarium"); String citation = "Zambia: c. 3 km west of Kalabo, foot of escarpment at edge of swamp bordering river, fl. 13.xi.1959, Drummond & Cookson 6442 (E; K; LISC; SRGH)."; expectedCountry.setV("Zambia"); expectedLocality.setV("c. 3 km west of Kalabo, foot of escarpment at edge of swamp bordering river, fl."); expectedCollectionDate.setV("13.xi.1959"); expectedCollectorName.setV("Drummond & Cookson"); expectedCollectorNumber.setV("6442"); expectedHerbarium.setV("E; K; LISC; SRGH"); assertThat(asList(extractor.extractProperties(citation)), hasItems(expectedCollectorName, expectedCollectorNumber, expectedCollectionDate, expectedLocality, expectedCountry, expectedHerbarium)); assertThat(asList(extractor.extractProperties(citation)).size(), equalTo(6)); }