import org.junit.Test;
import org.junit.Ignore;

import static org.junit.Assert.assertEquals;

public class AcronymTest {

    @Test
    public void fromTitleCasedPhrases() {
        final String phrase = "Portable Network Graphics";
        final String expected = "PNG";
        assertEquals(expected, new Acronym(phrase).get());
    }

    @Ignore("Remove to run test")
    @Test
    public void fromOtherTitleCasedPhrases() {
        final String phrase = "Ruby on Rails";
        final String expected = "ROR";
        assertEquals(expected, new Acronym(phrase).get());
    }

    @Ignore("Remove to run test")
    @Test
    public void fromInconsistentlyCasedPhrases() {
        final String phrase = "HyperText Markup Language";
        final String expected = "HTML";
        assertEquals(expected, new Acronym(phrase).get());
    }

    @Ignore("Remove to run test")
    @Test
    public void fromPhrasesWithPunctuation() {
        final String phrase = "First In, First Out";
        final String expected = "FIFO";
        assertEquals(expected, new Acronym(phrase).get());
    }

    @Ignore("Remove to run test")
    @Test
    public void fromOtherPhrasesWithPunctuation() {
        final String phrase = "PHP: Hypertext Preprocessor";
        final String expected = "PHP";
        assertEquals(expected, new Acronym(phrase).get());
    }

    @Ignore("Remove to run test")
    @Test
    public void fromPhrasesWithNonAcronymAllCapsWord() {
        final String phrase = "GNU Image Manipulation Program";
        final String expected = "GIMP";
        assertEquals(expected, new Acronym(phrase).get());
    }

    @Ignore("Remove to run test")
    @Test
    public void fromPhrasesWithPunctuationAndSentenceCasing() {
        final String phrase = "Complementary metal-oxide semiconductor";
        final String expected = "CMOS";
        assertEquals(expected, new Acronym(phrase).get());
    }

    @Ignore("Remove to run test")
    @Test
    public void fromPhraseWithSingleLetterWord() {
        final String phrase = "Cat in a Hat";
        final String expected = "CIAH";
        assertEquals(expected, new Acronym(phrase).get());
    }

}

@@ -88,16 +88,41 @@
 quals;%0A%0A
+/*%0A * version: 1.1.0%0A */%0A
 public c
@@ -604,268 +604,8 @@
  %7D%0A%0A
-    @Ignore(%22Remove to run test%22)%0A    @Test%0A    public void fromInconsistentlyCasedPhrases() %7B%0A        final String phrase = %22HyperText Markup Language%22;%0A        final String expected = %22HTML%22;%0A        assertEquals(expected, new Acronym(phrase).get());%0A    %7D%0A%0A
     
@@ -1674,253 +1674,6 @@
  %7D%0A%0A
-    @Ignore(%22Remove to run test%22)%0A    @Test%0A    public void fromPhraseWithSingleLetterWord() %7B%0A        final String phrase = %22Cat in a Hat%22;%0A        final String expected = %22CIAH%22;%0A        assertEquals(expected, new Acronym(phrase).get());%0A    %7D%0A%0A
 %7D%0A

update to latest canonical data