@@ -0,0 +1,1974 @@
+package ge.edu.freeuni.sdp.arkanoid.presenter;%0A%0Aimport ge.edu.freeuni.sdp.arkanoid.model.Ball;%0Aimport ge.edu.freeuni.sdp.arkanoid.model.geometry.Point;%0Aimport ge.edu.freeuni.sdp.arkanoid.model.geometry.Size;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.mockito.Mock;%0Aimport org.mockito.MockitoAnnotations;%0A%0Aimport static org.mockito.Matchers.any;%0Aimport static org.mockito.Mockito.when;%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * Created by vato on 5/3/16.%0A */%0Apublic class BallPresenterTest %7B%0A%0A    @Mock private Ball ballMock;%0A    @Mock private Size sizeMock;%0A%0A    @Before%0A    public void setUp() %7B%0A        MockitoAnnotations.initMocks(this);%0A    %7D%0A%0A    @Test%0A    public void drawBallEqualsTrue() %7B%0A        double ballPosX = 4.8, ballPosY = 5.2;%0A        int sizeWidth = 5, sizeHeight = 6;%0A        when(ballMock.getPosition()).thenReturn(new Point(ballPosX, ballPosY));%0A        when(sizeMock.getWidth()).thenReturn(sizeWidth);%0A        when(sizeMock.getHeight()).thenReturn(sizeHeight);%0A        when(sizeMock.isInRange(any(Point.class))).thenReturn(true);%0A        BallPresenter ballPresenter = new BallPresenter(ballMock, sizeMock);%0A        CellContent%5B%5D%5B%5D cellContents = new CellContent%5B10%5D%5B10%5D;%0A        ballPresenter.Draw(cellContents);%0A        assertEquals(cellContents%5B4%5D%5B5%5D, CellContent.Ball);%0A    %7D%0A%0A    @Test%0A    public void drawBallEqualsFalse() %7B%0A        double ballPosX = 7, ballPosY = 8;%0A        int sizeWidth = 4, sizeHeight = 4;%0A        when(ballMock.getPosition()).thenReturn(new Point(ballPosX, ballPosY));%0A        when(sizeMock.getWidth()).thenReturn(sizeWidth);%0A        when(sizeMock.getHeight()).thenReturn(sizeHeight);%0A        when(sizeMock.isInRange(any(Point.class))).thenReturn(false);%0A        BallPresenter ballPresenter = new BallPresenter(ballMock, sizeMock);%0A        CellContent%5B%5D%5B%5D cellContents = new CellContent%5B10%5D%5B10%5D;%0A        ballPresenter.Draw(cellContents);%0A        assertNotEquals(cellContents%5B7%5D%5B8%5D, CellContent.Ball);%0A    %7D%0A%7D%0A

Add BallPresenterTest to tests