def METHOD_NAME(self):
    # Test the behavior of empty_attributes_are_booleans as well
    # as which Formatters have it enabled.
    for name in ('html', 'minimal', None):
        formatter = HTMLFormatter.REGISTRY[name]
        assert False == formatter.empty_attributes_are_booleans
    formatter = XMLFormatter.REGISTRY[None]
    assert False == formatter.empty_attributes_are_booleans
    formatter = HTMLFormatter.REGISTRY['html5']
    assert True == formatter.empty_attributes_are_booleans
    # Verify that the constructor sets the value.
    formatter = Formatter(empty_attributes_are_booleans=True)
    assert True == formatter.empty_attributes_are_booleans
    # Now demonstrate what it does to markup.
    for markup in (
            "<option selected></option>",
            '<option selected=""></option>'
    ):
        soup = self.soup(markup)
        for formatter in ('html', 'minimal', 'xml', None):
            assert b'<option selected=""></option>' == soup.option.encode(formatter='html')
            assert b'<option selected></option>' == soup.option.encode(formatter='html5')