@Test
 public void testSkipSpacesInTheBeginning() throws Exception {
   char[] inputWords = {SPACE, SPACE, 'A'};
   int actualResult = ReverseWordsAlgorithm.skipSpaces(inputWords, 0);
   assertEquals(2, actualResult);
 }
 @Test
 public void testSkipSpacesInTheEnd() throws Exception {
   char[] inputWords = {'H', SPACE, SPACE};
   int actualResult = ReverseWordsAlgorithm.skipSpaces(inputWords, 1);
   assertEquals(2, actualResult);
 }