@@ -0,0 +1,1155 @@
+package com.pm.server.player;%0A%0Aimport static org.junit.Assert.assertTrue;%0Aimport static org.junit.Assert.fail;%0A%0Aimport java.util.List;%0A%0Aimport org.apache.logging.log4j.LogManager;%0Aimport org.apache.logging.log4j.Logger;%0Aimport org.junit.Before;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.boot.test.SpringApplicationConfiguration;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0A%0Aimport com.pm.server.PmServerApplicationTests;%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@SpringApplicationConfiguration(PmServerApplicationTests.class)%0Apublic class GhostRepositoryTest %7B%0A%0A%09@Autowired%0A%09private GhostRepository ghostRepository;%0A%0A%09private static final Logger log =%0A%09%09%09LogManager.getLogger(GhostRepositoryTest.class.getName());%0A%0A%09@Before%0A%09public void setUp() %7B%0A%0A%09%09List%3CGhost%3E ghostList = ghostRepository.getAllGhosts();%0A%0A%09%09for(Ghost ghost : ghostList) %7B%0A%09%09%09try %7B%0A%09%09%09%09ghostRepository.deleteGhostById(ghost.getId());%0A%09%09%09%7D%0A%09%09%09catch(Exception e) %7B%0A%09%09%09%09log.error(e.getMessage());%0A%09%09%09%09fail();%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09assertTrue(ghostRepository.getAllGhosts().isEmpty());%0A%0A%09%7D%0A%0A%7D%0A

Add skeleton for GhostRepository tests