expect class to be a constant