<s> """<STR_LIT>""" <EOL> from django . test import TestCase <EOL> from djstripe . stripe_objects import StripeObject <EOL> class StripeObjectExceptionsTest ( TestCase ) : <EOL> def test_missing_apiname ( self ) : <EOL> class MissingApiName ( StripeObject ) : <EOL> pass <EOL> with self . assertRaises ( NotImplementedError ) : <EOL> MissingApiName . api ( ) <EOL> def test_missing_obj_to_record ( self ) : <EOL> class MissingObjToRecord ( StripeObject ) : <EOL> stripe_api_name = "<STR_LIT:hello>" <EOL> with self . assertRaises ( NotImplementedError ) : <EOL> MissingObjToRecord . create_from_stripe_object ( { } ) </s>
