@@ -0,0 +1,648 @@
+package porrinha;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.Test;%0A%0Aimport view.CommandFactory;%0Aimport view.ReadFile;%0Aimport view.TerminalUserInterface;%0A%0Apublic class CommandFactoryTest %7B%0A%0A%09@Test%0A%09public void testMethodNameConnectionWithPrototype() %7B%0A%09%09TerminalUserInterface term = TerminalUserInterface.getInstance();%0A%09%09term.open(0, 0, 700, 700);%0A%0A%09%09ReadFile fileCommands = new ReadFile(%22C:/Users/estagiario.satelite/workspace/porrinha/commands%22);%0A%09%09CommandFactory cd =  new CommandFactory(fileCommands.commands);%0A%0A%09%09assertEquals(%22bet%22, cd.methodMap.get(%22bet%22).method());%0A%09%09assertEquals(%22hold%22, cd.methodMap.get(%22hold%22).method());%0A%09%7D%0A%0A%7D%0A

Add tests for commandfactory