def creating_document_object_with_string_should_automatically_parse(self):
        html = '<html></html>'

        with patch('structominer.Document.parse') as mocked_parse:
            doc = Document(html)
            mocked_parse.assert_called_with(html)