ovechkin-dm / mockio

Mockito for golang
MIT License
73 stars 2 forks source link

Add Verify to every Returner #53

Closed ovechkin-dm closed 5 months ago

ovechkin-dm commented 5 months ago

The idea is to add Verify method to returners, such that API like this is possible:

When(foo.Bar()).ThenReturn(10).Verify(Once())