FeatureManagerImpl implements FeatureManager { @Override public Feature storeFeature(String appId, Feature feature) throws MongoGeospatialException { return featureRepository.save(appId,feature); }  @Override Feature storeFeature(String appId, Feature feature); @Override void deleteFeature(String appIdentifier, String idFeature); @Override Feature updateFeature(String appIdentifier, String idFeature, Feature feature); @Override Feature getFeatureByID(String appIdentifier, String idFeature);  }
@Test public void storeFeatureManagerTest() throws MongoGeospatialException{ String idApplication = "1"; featureManagerImpl.storeFeature(idApplication, feature); Mockito.verify(featureRepository).save(idApplication,feature); }