Generates a random phone number. The phone number has the format: (XXX) XXX-YYYY

        :return: a random phone number.

def phone():
        """
        Generates a random phone number. The phone number has the format: (XXX) XXX-YYYY

        :return: a random phone number.
        """
        result = ""
        result += "(" + str(RandomInteger.next_integer(111, 999)) + ") "
        result += str(RandomInteger.next_integer(111, 999))
        result += "-" + str(RandomInteger.next_integer(0, 9999))
        return result