def METHOD_NAME(self):
    super(TestContentTypes, self).METHOD_NAME()
    self.hydroshare_author_group, _ = Group.objects.get_or_create(name='Hydroshare Author')
    # create a user to be used for creating the resource
    self.user = hydroshare.create_account(
        'creator@usu.edu',
        username='creator',
        first_name='Creator_FirstName',
        last_name='Creator_LastName',
        superuser=False,
        groups=[]
    )
    self.res = hydroshare.create_resource(
        'CompositeResource',
        self.user,
        'My Test Resource'
    )
    # create empty files with appropriate extensions
    self.filenames = ['file.pdf', 'file.doc', 'file.ppt', 'file.csv', 'file.ipynb']
    self.content_types = ['Document', 'Document', 'Presentation', 'Spreadsheet',
                          'Jupyter Notebook']
    for f in self.filenames:
        test_file = open(f, 'w')
        test_file.close()
    # create empty files with non-conforming extensions
    self.weird_filenames = ['file.foo', 'file.bar']
    self.weird_extensions = ['foo', 'bar']
    for f in self.weird_filenames:
        test_file = open(f, 'w')
        test_file.close()