public void MethodWithOneIndentHasNextLineIndentedByTwo()
{
var source = MockRepository.GenerateMock<ISource>();
var view = MockRepository.GenerateStub<IVsTextView>();
source.Stub(x => x.GetLine(LineNumber - 1)).Return("\tdef Method():");
source.Stub(x => x.ScanToNonWhitespaceChar(LineNumber)).Return(LastCharColumn);
source.Stub(x => x.UseTabs).Return(true);
// expect call to SetText with one tab indent
source.Expect(x => x.SetText(LineNumber, LastCharColumn, "\t\t"));
new LineIndenter(source, view)
.SetIndentationForNextLine(LineNumber);
source.VerifyAllExpectations();
}