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