can't manage to work verification with spy, instead use mocked object