@Test
public void testGet_DOI_lookup()
        throws SQLException, AuthorizeException, IOException,
        IllegalArgumentException, IdentifierException, WorkflowException, IllegalAccessException
{

    Item item = newItem();
    String doi = this.createDOI(item, DOIIdentifierProvider.IS_REGISTERED, false);
    
    String retrievedDOI = provider.lookup(context, (DSpaceObject) item);
    
    assertNotNull("Failed to loookup doi.", retrievedDOI);
    assertTrue("Loaded wrong DOI on lookup.", doi.equals(retrievedDOI));
}