def run_test_rendering_from_list_of_field_names_and_values_using_property_dict(self):
     headerFields = self.listOfHeaderFieldNamesAndValuesUsingPropertyDictForAssertion
     request = self.sipMessageClassUnderTest.newForAttributes(sipMethod=self.sipMethodString, requestURI='sip:example.com', content='Foo Content', header=SIPHeader.newForAttributes(headerFields=headerFields))
     self.runAssertionsForSIPMessage(request)
 def run_test_rendering_from_one_big_header_string_with_folding(self):
     headerFields = self.oneBigHeaderStringWithFoldingForAssertion
     request = self.sipMessageClassUnderTest.newForAttributes(sipMethod=self.sipMethodString, requestURI='sip:example.com', content='Foo Content', header=SIPHeader.newForAttributes(headerFields=headerFields))
     self.runAssertionsForSIPMessage(request)
 def run_test_rendering_from_list_of_header_field_strings(self):
     headerFields = self.listOfHeaderFieldStringsForAssertion
     request = self.sipMessageClassUnderTest.newForAttributes(sipMethod=self.sipMethodString, requestURI='sip:example.com', content='Foo Content', header=SIPHeader.newForAttributes(headerFields=headerFields))
     self.runAssertionsForSIPMessage(request)
 def run_test_rendering_from_list_of_field_names_and_values_using_property_dict(self):
     headerFields = self.listOfHeaderFieldNamesAndValuesUsingPropertyDictForAssertion
     response = self.sipMessageClassUnderTest.newForAttributes(statusCode=self.statusCode, reasonPhrase=self.reasonPhrase, content='Foo Content', header=SIPHeader.newForAttributes(headerFields=headerFields))
     self.runAssertionsForSIPMessage(response)
 def run_test_rendering_from_list_of_header_field_strings(self):
     headerFields = self.listOfHeaderFieldStringsForAssertion
     response = self.sipMessageClassUnderTest.newForAttributes(statusCode=self.statusCode, reasonPhrase=self.reasonPhrase, content='Foo Content', header=SIPHeader.newForAttributes(headerFields=headerFields))
     self.runAssertionsForSIPMessage(response)
 def run_test_rendering_from_one_big_header_string_with_folding(self):
     headerFields = self.oneBigHeaderStringWithFoldingForAssertion
     response = self.sipMessageClassUnderTest.newForAttributes(statusCode=self.statusCode, reasonPhrase=self.reasonPhrase, content='Foo Content', header=SIPHeader.newForAttributes(headerFields=headerFields))
     self.runAssertionsForSIPMessage(response)
 def run_test_rendering_from_list_of_field_names_and_values_using_property_dict(self):
     headerFields = self.listOfHeaderFieldNamesAndValuesUsingPropertyDictForAssertion
     message = self.sipMessageClassUnderTest._newForAttributes(startLine=MalformedSIPStartLine.newParsedFrom('Malformed start line'), content='Foo Content', header=SIPHeader.newForAttributes(headerFields=headerFields))
     self.runAssertionsForSIPMessage(message)
 def run_test_rendering_from_list_of_header_field_strings(self):
     headerFields = self.listOfHeaderFieldStringsForAssertion
     message = self.sipMessageClassUnderTest._newForAttributes(startLine=MalformedSIPStartLine.newParsedFrom('Malformed start line'), content='Foo Content', header=SIPHeader.newForAttributes(headerFields=headerFields))
     self.runAssertionsForSIPMessage(message)