setLiteralAndGetNewlineDelta

Modifies the parent SourceFile to set the value within the toBe call, and returns the net change in newline count.