Maybe try mocking getBar()?
# mockk
d
Maybe try mocking getBar()?