@Test
public void testGetChangeHostnameInAuthorizedKeysCommand() throws Exception
{

    assertEquals( "chmod 700 /root/.ssh/authorized_keys && sed -i 's/\\bOLD\\b/NEW/g' /root/.ssh/authorized_keys "
                    + "&& chmod 644 /root/.ssh/authorized_keys",
            localPeerCommands.getChangeHostnameInAuthorizedKeysCommand( "OLD", "NEW" ).build( "ID" ).getCommand() );
}