Element element = new DomElementStub("flushing");
element.setAttribute("nodes", nodes);
FlushingModel actual = parser.doParseFlushingModel(element,
flushBeforeMethodExecution);
JbossCacheFlushingModel expected = new JbossCacheFlushingModel(nodes);
expected.setFlushBeforeMethodExecution(flushBeforeMethodExecution);
assertEquals(expected, actual);
}