Elsevier Interview Question

How to test code without use of database?