Depends on the country. In many (vast majority of?) countries bills are individually passed, i.e. a few pages of text at a time. I imagine in those countries, a substantial fraction of the members in the assembly do read the bill before voting, even if they vote according to the party line.