Open janjaali opened 2 years ago
Referencing: https://github.com/paulbutcher/ScalaMock/blob/17c374222df4c6e9d53b2188e9d3d99541be44d1/_user_guide/070_advanced_topics.md?plain=1#L340
trait Foo { def bar(): Int def buz: Int } val fooMock = mock[Foo] (() => fooMock.bar()).expects(10) (() => fooMock.buz).expects(10)
Shouldn't that be more like:
trait Foo { def bar(): Int def buz: Int } val fooMock = mock[Foo] (() => fooMock.bar()).expects().returns(10) (() => fooMock.buz).expects().returns(10)
?
Up
Referencing: https://github.com/paulbutcher/ScalaMock/blob/17c374222df4c6e9d53b2188e9d3d99541be44d1/_user_guide/070_advanced_topics.md?plain=1#L340
Shouldn't that be more like:
?