use of org.springframework.mock.web.MockPageContext in project logging-log4j2 by apache.
the class LoggerAwareTagSupportTest method setUp.
private void setUp(final Object page) {
this.context = new MockPageContext() {
@Override
public Object getPage() {
return page == null ? this : page;
}
};
this.tag = new LoggerAwareTagSupport() {
private static final long serialVersionUID = 1L;
};
this.tag.setPageContext(this.context);
}
Aggregations