def METHOD_NAME(self, content):
    """
    Upload the same content (via 'PUT /uri') twice
    """
    http_client = create_tahoe_treq_client()
    @inline_callbacks
    def do_test():
        resp = yield http_client.put("http://example.com/uri", content)
        self.assertEqual(resp.code, 201)
        cap_raw = yield resp.content()
        self.assertThat(
            cap_raw,
            AfterPreprocessing(
                from_string,
                IsInstance(CHKFileURI)
            )
        )
        resp = yield http_client.put("http://example.com/uri", content)
        self.assertThat(resp.code, Equals(200))
    self.assertThat(
        do_test(),
        succeeded(Always()),
    )