@Test
public void testCountWords() {

	assertThat(StringUtils.countWords("Hi", true), is(equalTo(1)));
	assertThat(StringUtils.countWords("Hi there", true), is(equalTo(2)));
	assertThat(StringUtils.countWords("Hi  there", true), is(equalTo(2)));
	assertThat(StringUtils.countWords("The quick brown fox jumps over the lazy dog", true), is(equalTo(9)));
	assertThat(StringUtils.countWords("The * quick # brown _ fox | jumps over the lazy dog", true), is(equalTo(13)));
	assertThat(StringUtils.countWords("The * quick # brown _ fox | jumps over the lazy dog", false), is(equalTo(9)));
}