Peter Götz
Peter Götz
``` $ ~/workplace/go/src/github.com/petergtz/alexa-journal ± |master {1} U:7 ?:3 ✗| → pegomock generate --use-experimental-model-gen . JournalProvider panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1...
Given there is a ```go type CamelCaseType string ``` in ` display.go`, then ```bash cd generate_test_mocks/gomock_source/ ginkgo ``` will produce: ```go package matchers import ( "reflect" "github.com/petergtz/pegomock" "" ) func...
See also https://github.com/petergtz/pegomock/issues/41#issuecomment-340181371.
This could come in different flavors: - Support a debug mode which prints out every invocation of a mock with file and line number - Provide file and line numbers...
E.g.: `myMock.verify().myMockedMethod()` or `myMock.verify().myMockedMethod().wasCalled(Once())` `myMock.verify().myMockedMethod().wasCalled(atLeast(3))` etc.