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