assertLogContaining("Unable to connect to sfDaemon on: localhost"); assertLogContaining("Reason:sfDaemon may not be running on localhost"); assertLogContaining("java.rmi.ConnectException: Connection refused to host: 127.0.0.1");
assertNoConnectionToLocalhost();
    public void testResource() {        expectBuildExceptionContaining("testResource", "deploy failure", "Could not deploy");        assertLogContaining("Unable to connect to sfDaemon on: localhost");        assertLogContaining("Reason:sfDaemon may not be running on localhost");        assertLogContaining("java.rmi.ConnectException: Connection refused to host: 127.0.0.1");    }