How is one tested for hypoglycemia?

How is one tested for hypoglycemia?