@Test
public void testDestroyBusinessObjectDataException() throws Exception
{

    retentionExpirationDestroyerWebClient.getRegServerAccessParamsDto().setRegServerHost(MockHttpClientOperationsImpl.HOSTNAME_THROW_IO_EXCEPTION);
    try
    {
        BusinessObjectDataKey businessObjectDataKey =
            new BusinessObjectDataKey("test", "test", "test", "test", 0, "test", Collections.singletonList("test"), 0);
        retentionExpirationDestroyerWebClient.destroyBusinessObjectData(businessObjectDataKey);
        fail();
    }
    catch (IOException e)
    {
        assertEquals("testThrowIoException", e.getMessage());
    }
}