### Question:
CategoricalAttributeManager { public CategoricalAttribute loadAllValuesForKey(final String key) { final CategoricalAttribute categoricalAttribute = categoricalAttributesDao.loadAllValuesForKey(key); Assert.notNull(categoricalAttribute, messageHelper.getMessage(MessageConstants.ERROR_CATEGORICAL_ATTRIBUTE_DOESNT_EXIST, key)); return categoricalAttribute; }  @Transactional(propagation = Propagation.REQUIRED) boolean updateCategoricalAttributes(final List<CategoricalAttribute> dict); @Transactional(propagation = Propagation.REQUIRED) boolean insertAttributesValues(final List<CategoricalAttribute> dict); List<CategoricalAttribute> loadAll(); CategoricalAttribute loadAllValuesForKey(final String key); @Transactional(propagation = Propagation.REQUIRED) boolean deleteAttributeValues(final String key); @Transactional(propagation = Propagation.REQUIRED) boolean deleteAttributeValue(final String key, final String value); @Transactional(propagation = Propagation.REQUIRED) void syncWithMetadata();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void loadValuesForNonExistentKey() { categoricalAttributeManager.loadAllValuesForKey(INVALID_KEY); }