During testing you can do it manually (why would you do it from code?).

Unit tests.

Reply via email to