/**
   * Test method for {@link edu.ltu.stringreporter.StringReporter#getWordLength(java.lang.String)} .
   */
  @Test
  public void testGetWordLength() {
    String w = "kiran";
    int wLength = w.trim().length();

    // Test that length is same
    AssertJUnit.assertEquals(wLength, StringReporter.getWordLength("kiran"));

    // Test that length is correct for hyphenated words
    AssertJUnit.assertEquals(13, StringReporter.getWordLength("computer-aided"));
  }