### Question:
FilterDefDecorator extends FilterDef { public boolean isAsyncSupported() { Boolean decoreeAsyncFlag = decoree.isAsyncSupported(); return (decoreeAsyncFlag == null ? false : decoreeAsyncFlag); } FilterDefDecorator(ServletFilter decoree); String getDescription(); String getDisplayName(); String getFilterClassName(); void setFilterClassName(String filterClassName); String getFilterName(); String getLargeIcon(); String getSmallIcon(); boolean isAsyncSupported();  }### Answer:
@Test public void nullAsyncSupportedFlagShallNotCauseException() { when(filter.isAsyncSupported()).thenReturn(null); when(filter.getInitializationParameters()).thenReturn(new Vector()); FilterDefDecorator fdd = new FilterDefDecorator(filter); assertFalse(fdd.isAsyncSupported()); }