@@ -0,0 +1,795 @@
+package com.njd5475.github.slim.model;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.mockito.Mock;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.mockito.Mockito.*;%0A%0Aimport com.njd5475.github.slim.view.SlimCursor;%0A%0Apublic class SlimCursorTest %7B%0A%0A    @Mock%0A    private SlimFileWrapper mFile;%0A    @Mock%0A    private SlimLineWrapper mLine;%0A    %0A    private SlimCursor cursor;%0A    %0A    @Before%0A    public void setUp() %7B%0A        mFile = mock(SlimFileWrapper.class);%0A        mLine = mock(SlimLineWrapper.class);%0A        cursor = new SlimCursor(mFile, 2, 3);%0A    %7D%0A    %0A    @Test%0A    public void testSkip() %7B%0A        when(mLine.length()).thenReturn(20);%0A        when(mFile.getLine(2)).thenReturn(mLine);%0A        cursor.skip(7);%0A        assertEquals(10, cursor.getColumn());%0A    %7D%0A%0A%7D%0A

Test cursor object.