def METHOD_NAME(self):
    var = XmlVarFactory.create(types=(Telephone,))
    serializer = JsonSerializer(dict_factory=DictFactory.FILTER_NONE)
    actual = serializer.convert(Telephone(30, 234, 56783), var)
    self.assertEqual("30-234-56783", actual)