@@ -0,0 +1,961 @@
+package org.amc.game.chess;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class HumanPlayerTest %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%0A%09%7D%0A%0A%09@Test%0A%09public void test() %7B%0A%09%09Player player = new HumanPlayer();%0A%09%09assertNotNull(player.getName());%0A%09%09assertNotNull(player.getUserName());%0A%09%7D%0A%09%0A%09@Test%0A%09public void testSetUserName() %7B%0A%09%09final String userName = %22ted%22;%0A%09%09Player player = new HumanPlayer();%0A%09%09player.setUserName(userName);%0A%09%09assertEquals(userName, player.getUserName());%0A%09%7D%0A%0A%09@Test%0A%09public void testConstructorName() %7B%0A%09%09final String name = %22Ted Bing%22;%0A%09%09Player player = new HumanPlayer(name);%0A%09%09assertEquals(name, player.getName());%0A%09%7D%0A%09%0A%09@Test%0A%09public void testsetName() %7B%0A%09%09final String name = %22Ted Bing%22;%0A%09%09HumanPlayer player = new HumanPlayer();%0A%09%09player.setName(name);%0A%09%09assertEquals(name, player.getName());%0A%09%7D%0A%7D%0A

create test case for HumanPlayer