def METHOD_NAME(self):
    """
    Verify that wrap_fragment adds new content.
    """
    new_content = '<p>New Content<p>'
    fragment = self.create_fragment()
    wrapped_fragment = wrap_fragment(fragment, new_content)
    assert '<p>New Content<p>' == wrapped_fragment.content
    assert 'body {background-color:red;}' == wrapped_fragment.resources[0].data
    assert 'alert("Hi!");' == wrapped_fragment.resources[1].data