def METHOD_NAME(self) -> None:
    """Test that an EventContext for a state event (with not previous entry)
    is the same after serialize/deserialize.
    """
    event, context = self.get_success(
        create_event(
            self.hs,
            room_id=self.room_id,
            type="m.test",
            sender=self.user_id,
            state_key="",
        )
    )
    self._check_serialize_deserialize(event, context)