Automock helps to reduce code tremendously. But it can be tricky to use at times.
Here are some simple code that you can get started with, to show it works. Sometimes those calls can get complicated and you need to know what works. The code sample below, is simple, straight forward and you won't have problem getting it to work