diff --git a/README.md b/README.md index b0f06af..15ee36c 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ The mocked structure implements the interface, where each method calls the assoc * It will panic if a nil function gets called * Name arguments in the interface for a better experience * Use closured variables inside your test function to capture details about the calls to the methods -* Use `.CallsTo.Method` to track the calls +* Use `.MethodCalls()` to track the calls * Use `go:generate` to invoke the `moq` command ## License