def METHOD_NAME(self):
    # add a creator element
    resource.create_metadata_element(self.res.short_id, 'creator', name='Smith, John')
    citation = self.res.get_citation()
    hs_identifier = self.res.metadata.identifiers.all().filter(name="hydroShareIdentifier")[0]
    hs_url = hs_identifier.url
    hs_date = str(date.today().year)
    correct_citation = 'Creator_LastName, C., ' \
                       'J. Smith ({}). A resource, HydroShare, {}'.format(hs_date, hs_url)
    self.assertEqual(citation, correct_citation)