@@ -0,0 +1,1356 @@
+package com.pm.server.controller;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0Aimport org.apache.logging.log4j.LogManager;%0Aimport org.apache.logging.log4j.Logger;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.web.servlet.MockMvc;%0Aimport org.springframework.test.web.servlet.setup.MockMvcBuilders;%0Aimport org.springframework.web.context.WebApplicationContext;%0A%0Aimport com.pm.server.ControllerTestTemplate;%0Aimport com.pm.server.datatype.Coordinate;%0Aimport com.pm.server.datatype.CoordinateImpl;%0Aimport com.pm.server.repository.PacmanRepository;%0A%0Apublic class PacmanControllerTest extends ControllerTestTemplate %7B%0A%0A%09@Autowired%0A%09private PacmanRepository pacmanRepository;%0A%0A%09private static final List%3CCoordinate%3E randomCoordinateList = Arrays.asList(%0A%09%09%09new CoordinateImpl(12941.49901, 39231.05893),%0A%09%09%09new CoordinateImpl(03912.08312, 11293.34921)%0A%09);%0A%0A%09private static final String BASE_MAPPING = %22/pacman%22;%0A%0A%09@Autowired%0A%09private WebApplicationContext webApplicationContext;%0A%0A%09private MockMvc mockMvc;%0A%0A%09@Before%0A%09public void setUp() %7B%0A%0A%09%09mockMvc = MockMvcBuilders%0A%09%09%09%09.webAppContextSetup(this.webApplicationContext)%0A%09%09%09%09.build();%0A%0A%09%7D%0A%0A%09@After%0A%09public void cleanUp() %7B%0A%0A%09%09pacmanRepository.clearPlayers();%0A%09%09assert(pacmanRepository.numOfPlayers() == 0);%0A%0A%09%7D%0A%0A%7D

Add base for PacmanControllerTest