mock methods can now reference each other