<s> from simplestack . exceptions import * <EOL> import json <EOL> import unittest <EOL> class FeatureNotAvailableTest ( unittest . TestCase ) : <EOL> def test_instance ( self ) : <EOL> exception = FeatureNotAvailable ( ) <EOL> output = json . loads ( exception . output ) <EOL> message = "<STR_LIT>" <EOL> self . assertEqual ( exception . status , '<STR_LIT>' ) <EOL> self . assertEqual ( output [ '<STR_LIT:message>' ] , message ) <EOL> self . assertEqual ( <EOL> exception . headers . get ( '<STR_LIT:Content-Type>' ) , "<STR_LIT:application/json>" <EOL> ) </s>
