General Atomics interview question

How do you mock a class for unit testing