set assertion type with enumeration