Test InsertLineBreak is called correctly without any exception.