Learning mock with unit testing.