Implemented the Moq example