Aba is a special method that is not part of the Bar interface, but is used to test that the correct method is called. "Aba" name is chosen to be before "Bar" in the alphabet.
()
| 25 | // but is used to test that the correct method is called. "Aba" name |
| 26 | // is chosen to be before "Bar" in the alphabet. |
| 27 | func (b BarImpl) Aba() bool { |
| 28 | return true |
| 29 | } |
| 30 | |
| 31 | func (b BarImpl) Bar() int { |
| 32 | return 42 |
no outgoing calls
no test coverage detected