#NEWLINE# def test_can_assign_phone_number( self ) : #NEWLINE# #INDENT# phone = MandatoryPhoneNumber ( ) #NEWLINE# phone . phone_number = PhoneNumber . from_string ( valid_number ) #NEWLINE# self . assertEqual ( type ( phone . phone_number ) , PhoneNumber ) #NEWLINE# self . assertEqual ( self . phone_number . as_e164 , valid_number )