Defines to/2 function which makes the mock.
to/2
Makes specific mock with ESpec.Mock.expect/3
Makes specific mock with ESpec.Mock.expect/3.