@Test
public void testFullResyncTimeout() throws ExecutionException, InterruptedException, NetconfMessageBuilderException {

    makeDeviceTimeout(null);
    m_das.forceAlign(m_device1, m_getResponse);
    verify(m_deviceInterface).forceAlign(m_device1, m_getResponse);
    String expected;
    if (isWindowsSys()) {
         expected = "In Error, request sent : <rpc xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\" message-id=\"1\">\r\n" +
                "  <copy-config>\r\n" +
                "    <source>blah<source>\r\n" +
                "\t<target>\r\n" +
                "      <running />\r\n" +
                "    </target>\r\n" +
                "    <test-option>set</test-option>\r\n" +
                "    <config>\r\n" +
                "      <some-config xmlns=\"some:ns\"/>\r\n" +
                "    </config>\r\n" +
                "  </copy-config>\r\n" +
                "</rpc>,\r\n" +
                "response received : request timed out";
    }
    else {
         expected = "In Error, request sent : <rpc xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\" message-id=\"1\">\n" +
                "  <copy-config>\n" +
                "    <source>blah<source>\n" +
                "\t<target>\n" +
                "      <running />\n" +
                "    </target>\n" +
                "    <test-option>set</test-option>\n" +
                "    <config>\n" +
                "      <some-config xmlns=\"some:ns\"/>\n" +
                "    </config>\n" +
                "  </copy-config>\n" +
                "</rpc>,\n" +
                "response received : request timed out";
    }
    verify(m_dm).updateConfigAlignmentState(m_device1.getDeviceName(), expected);
}