@Test
public void testGetStorageAttributeIntegerValueByNameWithDefault_8()
{

    String attributeName = "test";
    String attributeValue = BLANK_TEXT;
    StorageEntity storageEntity = storageDaoTestHelper.createStorageEntityWithAttributes(attributeName, attributeValue);
    Integer defaultValue = null;
    try
    {
        storageHelper.getStorageAttributeIntegerValueByName(attributeName, storageEntity, defaultValue);
        fail();
    }
    catch (Exception e)
    {
        assertEquals(IllegalStateException.class, e.getClass());
        assertEquals("Storage attribute \"" + attributeName + "\" must be a valid integer. Actual value is \"" + attributeValue + "\"", e.getMessage());
    }
}