@Test
public void testGetBusinessObjectDefinitionException() throws Exception
{

    retentionExpirationExporterWebClient.getRegServerAccessParamsDto().setRegServerHost(MockHttpClientOperationsImpl.HOSTNAME_THROW_IO_EXCEPTION);
    try
    {
        retentionExpirationExporterWebClient.getBusinessObjectDefinition(NAMESPACE, BUSINESS_OBJECT_DEFINITION_NAME);
    }
    catch (IOException e)
    {
        assertEquals("testThrowIoException", e.getMessage());
    }
}