mock integration