package com.trimc.blogger.commons.utils;

import org.junit.Test;

public final class RegexUtilsTest {

	@Test
	public void useDotNotationForAbbreviations1() throws Throwable {
		String line = "That was it.";
		line = RegexUtils.useDotNotationForAbbreviations(line);
		System.err.println(line);
	}

	@Test
	public void useDotNotationForAbbreviations2() throws Throwable {
		String line = "This is my sentence. That was it.";
		line = RegexUtils.useDotNotationForAbbreviations(line);
		System.err.println(line);
	}

	@Test
	public void useDotNotationForAbbreviations3() throws Throwable {
		String line = "That was it. Here goes nothing!";
		line = RegexUtils.useDotNotationForAbbreviations(line);
		System.err.println(line);
	}

	@Test
	public void useDotNotationForAbbreviations4() throws Throwable {
		String line = "This is my sentence. That was it. Here goes nothing!";
		line = RegexUtils.useDotNotationForAbbreviations(line);
		System.err.println(line);
	}
}

@@ -57,16 +57,50 @@
 it.Test;
+%0Aimport static org.junit.Assert.*;
 %0A%0Apublic
@@ -295,39 +295,49 @@
 ine);%0A%09%09
-System.err.println(line
+assertEquals(line, %22That was it.%22
 );%0A%09%7D%0A%0A%09
@@ -521,39 +521,70 @@
 ine);%0A%09%09
-System.err.println(line
+assertEquals(line, %22This is my sentence. That was it.%22
 );%0A%09%7D%0A%0A%09
@@ -766,39 +766,68 @@
 ine);%0A%09%09
-System.err.println(line
+assertEquals(line, %22That was it. Here goes nothing!%22
 );%0A%09%7D%0A%0A%09
@@ -1034,31 +1034,81 @@
 ;%0A%09%09
-System.err.println(line
+assertEquals(line, %22This is my sentence. That was it. Here goes nothing!%22
 );%0A%09

update test case