added ConfigurationProcessor#expectEnum method