@@ -0,0 +1,1660 @@
+package org.xander.katas;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class TestTestA %7B%0A    FindUniqueCharInString findUniqueCharInString;%0A%0A    @Before%0A    public void setUp() %7B%0A        findUniqueCharInString = new FindUniqueCharInString();%0A    %7D%0A%0A    @Test%0A    public void findFirstUniqueAllUnique() throws Exception %7B%0A        assertEquals('s', findUniqueCharInString.findFirstUnique(%22sparta%22));%0A    %7D%0A%0A    @Test%0A    public void findFirstUnique2LettersInTheBeginning() throws Exception %7B%0A        assertEquals('p', findUniqueCharInString.findFirstUnique(%22ssparta%22));%0A    %7D%0A%0A    @Test%0A    public void findFirstUnique2LettersInTheBeginning1() throws Exception %7B%0A        assertEquals('a', findUniqueCharInString.findFirstUnique(%22ssample%22));%0A    %7D%0A%0A    @Test%0A    public void findFirstUniqueALotOfChars() throws Exception %7B%0A        assertEquals('t', findUniqueCharInString.findFirstUnique(%22ttssppaarrtaat%22));%0A    %7D%0A%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void findFirstUniqueNoUnique() throws Exception %7B%0A        assertEquals('t', findUniqueCharInString.findFirstUnique(%22ccc%22));%0A    %7D%0A%0A    @Test%0A    public void findFirstUniqueLastUnique() throws Exception %7B%0A        assertEquals('a', findUniqueCharInString.findFirstUnique(%22ccca%22));%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void findFirstUniqueEmpty() throws Exception %7B%0A        assertEquals('s', findUniqueCharInString.findFirstUnique(%22%22));%0A    %7D%0A%0A    @Test%0A    public void findFirstUniqueOneChar() throws Exception %7B%0A        assertEquals('a', findUniqueCharInString.findFirstUnique(%22a%22));%0A    %7D%0A%7D%0A

test for find first unique char in a string