Use interface for mocking.
Merge pull request #28 from fubhy/use-interface-for-mock

Use interface for mocking.