use proper getter to perform assertion