Cochlear interview question

How would you validate a software component ?