@Test
public void shouldReturnDBBasedOnType() {

    Assert.assertNotNull(provider.getDB(FileDbProvider.TYPE_MEM, new BasicDocument()));        
    Assert.assertNotNull(provider.getDB(FileDbProvider.TYPE_FILE, new BasicDocument(FileDbProvider.PATH_FIELD, "path")));        
}