Smart mock example