finish example for mockery use