mock transaction