agave-metadata/metadata-core/src/test/java/org/iplantc/service/metadata/dao/MetadataDaoIT.java
/**
     * Create and insert a test entity persisted and available for lookup
     *
     * @return a persisted instance of the entity
     */
Create and insert a test entity persisted and available for lookup
@return a persisted instance of the entity
Create and insert a test entity persisted and available for lookup @return a persisted instance of the entity
@Override
    public MetadataItem insertEntity() {
        MetadataItem addItem = createEntity();
        collection.insertOne(addItem);
        return addItem;
    }
@ Override public MetadataItem insertEntity ( ) { MetadataItem addItem = createEntity ( ) ; collection . insertOne ( addItem ) ; return addItem ; }
Create and insert a test entity persisted and available for lookup
 @return a persisted instance of the entity
Create and insert a test entity persisted and available for lookup @return a persisted instance of the entity