package ge.edu.freeuni.sdp.snake.presenter;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class MazePresenterTest {

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testMazePresenter() {
		// fail("Not yet implemented");
	}

	@Test
	public void testSetCellUpdateListener() {
		// fail("Not yet implemented");
	}

	@Test
	public void testIsGameOver() {
		// fail("Not yet implemented");
	}

	@Test
	public void testTick() {
		// fail("Not yet implemented");
	}

	@Test
	public void testSetLivesUpdateListener() {
		// fail("Not yet implemented");
	}

	@Test
	public void testSaveState() {
		// fail("Not yet implemented");
	}

	@Test
	public void testRestoreState() {
		// fail("Not yet implemented");
	}

}

@@ -71,16 +71,253 @@
 ssert.*;
+%0Aimport ge.edu.freeuni.sdp.snake.model.BeingKind;%0Aimport ge.edu.freeuni.sdp.snake.model.Direction;%0Aimport ge.edu.freeuni.sdp.snake.model.GameFacade;%0Aimport ge.edu.freeuni.sdp.snake.model.Point;%0Aimport ge.edu.freeuni.sdp.snake.model.Size;
 %0A%0Aimport
@@ -381,16 +381,44 @@
 it.Test;
+%0Aimport org.mockito.Mockito;
 %0A%0Apublic
@@ -450,121 +450,304 @@
 %7B%0A%0A%09
-@Before%0A%09public void setUp() throws Exception %7B%0A%09%7D%0A%0A%09@After%0A%09public void tearDown() throws Exception %7B
+private static GameFacade game;%0A%09private static MazePresenter mazePresenter;%0A%0A%09@Before%0A%09public void setUp() throws Exception %7B%0A%09%09game = Mockito.mock(GameFacade.class);%0A%09%09Mockito.when(game.getSize()).thenReturn(new Size(10, 10));%0A%09%09mazePresenter = Mockito.spy(new MazePresenter(game));
 %0A%09%7D%0A%0A%09@
-Test
+After
 %0A%09pu
@@ -762,61 +762,35 @@
 d te
-stMazePresenter() %7B%0A%09%09// fail(%22Not yet implemented%22);
+arDown() throws Exception %7B
 %0A%09%7D%0A
@@ -844,41 +844,8 @@
 ) %7B%0A
-%09%09// fail(%22Not yet implemented%22);
 %0A%09%7D%0A
@@ -888,41 +888,8 @@
 ) %7B%0A
-%09%09// fail(%22Not yet implemented%22);
 %0A%09%7D%0A
@@ -926,41 +926,8 @@
 ) %7B%0A
-%09%09// fail(%22Not yet implemented%22);
 %0A%09%7D%0A
@@ -982,41 +982,8 @@
 ) %7B%0A
-%09%09// fail(%22Not yet implemented%22);
 %0A%09%7D%0A
@@ -1025,41 +1025,8 @@
 ) %7B%0A
-%09%09// fail(%22Not yet implemented%22);
 %0A%09%7D%0A
@@ -1071,41 +1071,8 @@
 ) %7B%0A
-%09%09// fail(%22Not yet implemented%22);
 %0A%09%7D%0A

Update MazePresenterTest.java