@Test
public void testGetChangeHostnameInEtcHostsCommand() throws Exception
{

    assertEquals(
            "sed -i 's/\\bOLD\\b/NEW/g' /etc/hosts && sed -i 's/\\bOLD.intra.lan\\b/NEW.intra.lan/g' /etc/hosts",
            localPeerCommands.getChangeHostnameInEtcHostsCommand( "OLD", "NEW" ).build( "ID" ).getCommand() );
}