@Test
public void testHandleAmazonException()
{

    try
    {
        AmazonServiceException amazonServiceException = new AmazonServiceException(ERROR_MESSAGE);
        awsServiceHelper.handleAmazonException(amazonServiceException, MESSAGE_TEXT);
        fail();
    }
    catch (AmazonServiceException amazonServiceException)
    {
        assertThat("Error message not correct.", amazonServiceException.getMessage().contains(ERROR_MESSAGE), is(true));
    }
}