### Question:
GenericIndexResourceType extends ResourceType { public StorageStrategy getStorageStrategy() { return m_storageStrategy; } GenericIndexResourceType(CollectionAgent agent, OnmsSnmpCollection snmpCollection, org.opennms.netmgt.config.datacollection.ResourceType resourceType); @Override SnmpCollectionResource findResource(SnmpInstId inst); SnmpCollectionResource findAliasedResource(SnmpInstId inst, String ifAlias); @Override Collection<SnmpAttributeType> loadAttributeTypes(); @Override Collection<GenericIndexResource> getResources(); String getName(); StorageStrategy getStorageStrategy(); PersistenceSelectorStrategy getPersistenceSelectorStrategy();  }### Answer:
@Test public void testGetStorageStrategy() { GenericIndexResourceType g = instantiate(); Assert.assertNotNull("storageStrategy should not be null", g.getStorageStrategy()); Assert.assertNotNull("persistenceSelectorStrategy should not be null", g.getPersistenceSelectorStrategy()); }