@Test
public void testCreate() throws Exception {

    assertTrue(SolrSpatialStrategy.createStrategy(newDescriptor(null)) instanceof DefaultStrategy);
    assertTrue(SolrSpatialStrategy.createStrategy(newDescriptor(
        "org.apache.solr.schema.SpatialRecursivePrefixTreeFieldType")) instanceof DefaultStrategy);
    assertTrue(SolrSpatialStrategy.createStrategy(newDescriptor(
        "org.apache.solr.schema.LatLonType")) instanceof DefaultStrategy);
    assertTrue(SolrSpatialStrategy.createStrategy(newDescriptor(
        "org.apache.solr.schema.BBoxField")) instanceof BBoxStrategy);
    assertTrue(SolrSpatialStrategy.createStrategy(newDescriptor(
        "org.apache.solr.spatial.pending.BBoxFieldType")) instanceof BBoxStrategy);
}