private static InMemoryLineView InitView(string startValue, int startPos) { var lineView = new InMemoryLineView(); lineView.SetState(startValue, startPos); return(lineView); }