def setUp(self):
class BasicResource(models.Resource):<EOL><INDENT>endpoint = '<STR_LIT>'<EOL>name = models.Field(unique=True)<EOL><DEDENT>self.resource = BasicResource()<EOL>self.command = ResSubcommand(self.resource)<EOL>
Install a resource instance sufficient for testing common
        things with subcommands.