Demonstrating how to 'mock' local methods.