def METHOD_NAME(self):
    path = self.write_file("statement.pdf", _CONTENT_1)
    self.assertTrue(add_statement(self.task.name, "en", path, False))
    self.assertStatementInDb("en", _DIGEST_1)
    # We try to overwrite and force it.
    path = self.write_file("statement2.pdf", _CONTENT_2)
    self.assertTrue(add_statement(self.task.name, "en", path, True))
    self.assertStatementInDb("en", _DIGEST_2)