I didn't say you gain information when they check the flop, then bet the turn. You gain information when they check both the flop and turn. When they bet the turn, you raise and if they're bluffing they fold. Pretty simple.
I did not say you *necessarily* gain information by checking, you allow for the possibility of gaining information before putting additional money into the pot.