use of nl.knaw.huygens.timbuctoo.search.description.PropertyParser in project timbuctoo by HuygensING.
the class PropertyParserFactoryTest method getParserReturnsAStringListParserForList.
@Test
public void getParserReturnsAStringListParserForList() {
PropertyParser parser = instance.getParser(List.class);
assertThat(parser, is(instanceOf(StringListParser.class)));
}
use of nl.knaw.huygens.timbuctoo.search.description.PropertyParser in project timbuctoo by HuygensING.
the class PropertyParserFactoryTest method getParserReturnsAStringPropertyParserForString.
@Test
public void getParserReturnsAStringPropertyParserForString() {
PropertyParser parser = instance.getParser(String.class);
assertThat(parser, is(instanceOf(StringPropertyParser.class)));
}
use of nl.knaw.huygens.timbuctoo.search.description.PropertyParser in project timbuctoo by HuygensING.
the class PropertyParserFactoryTest method getParserReturnsADefaultLocationNamePropertyParserForLocationNames.
@Test
public void getParserReturnsADefaultLocationNamePropertyParserForLocationNames() {
PropertyParser parser = instance.getParser(LocationNames.class);
assertThat(parser, is(instanceOf(DefaultLocationNamePropertyParser.class)));
}
Aggregations