#NEWLINE# def test_write_with_none( self ) : #NEWLINE# #INDENT# stream = utils . BytearrayStream ( ) #NEWLINE# payload = rekey_key_pair . RekeyKeyPairResponsePayload ( ) #NEWLINE# self . _test_write ( stream , payload , payload . encoding_empty )