@Test
public void testGetStorageAttributeIntegerValueByName_11()
{

    String attributeName = "test";
    String attributeValue = null;
    StorageEntity storageEntity = storageDaoTestHelper.createStorageEntityWithAttributes(attributeName, attributeValue);
    boolean attributeRequired = false;
    boolean attributeValueRequiredIfExists = true;
    try
    {
        storageHelper.getStorageAttributeIntegerValueByName(attributeName, storageEntity, attributeRequired, attributeValueRequiredIfExists);
        fail();
    }
    catch (Exception e)
    {
        assertEquals(IllegalStateException.class, e.getClass());
        assertEquals("Attribute \"" + attributeName + "\" for \"" + storageEntity.getName() + "\" storage must have a value that is not blank.",
            e.getMessage());
    }
}