def METHOD_NAME(self):
    # Make sure that the deprecated BSS class uses an xml builder
    # if one is installed.
    with warnings.catch_warnings(record=True) as w:
        soup = BeautifulStoneSoup("<b />")
    assert "<b/>" == str(soup.b)
    assert "BeautifulStoneSoup class is deprecated" in str(w[0].message)