Cochlear Interview Question

How would you validate a software component ?