HadoopWorkflowDirectoryFilter implements InitializingBean { @Override public void afterPropertiesSet() throws Exception { Assert.notNull(springHadoopWorkflowDirectoryName, "spring hadoop workflow directory must be set"); }  boolean filter(File file); String getSpringHadoopWorkflowDirectoryName(); void setSpringHadoopWorkflowDirectoryName(String springHadoopWorkflowFolderName); @Override void afterPropertiesSet();  }
@Test(expected = Exception.class) public void testAfterPropertiesSet() throws Exception { filter.afterPropertiesSet(); }