@Test
public void testTranspose() throws Exception {

    assertEquals("afrm", spelling.swapCharsAt("farm", 0));
    assertEquals("fram", spelling.swapCharsAt("farm", 1));
    assertEquals("famr", spelling.swapCharsAt("farm", 2));
}