@Test
public void testSanitizeWithDashes() {

    expect:
    assertEquals("harry-potter", new FriendlyUrl().sanitizeWithDashes("Harry Potter"));
    assertEquals("harry", new FriendlyUrl().sanitizeWithDashes("Harry "));
}