def METHOD_NAME(self):
    """Test that a sawtooth/block-commit event is generated correctly."""
    block_header = BlockHeader(
        block_num=85,
        state_root_hash="0987654321fedcba",
        previous_block_id="0000000000000000")
    block = BlockWrapper(Block(
        header_signature="abcdef1234567890",
        header=block_header.SerializeToString()))
    extractor = BlockEventExtractor(block)
    events = extractor.extract([EventSubscription(
        event_type="sawtooth/block-commit")])
    self.assertEqual(events, [
        Event(
            event_type="sawtooth/block-commit",
            attributes=[
                Event.Attribute(key="block_id", value="abcdef1234567890"),
                Event.Attribute(key="block_num", value="85"),
                Event.Attribute(
                    key="state_root_hash", value="0987654321fedcba"),
                Event.Attribute(
                    key="previous_block_id",
                    value="0000000000000000")])])