@Test
@PrepareForTest(IOUtils.class)
public void afterPropertiesSetTest() throws Exception {

    PowerMockito.mockStatic(IOUtils.class);
    spy.afterPropertiesSet();
    PowerMockito.verifyStatic();
    IOUtils.copy(Mockito.any(InputStream.class), Mockito.any(FileOutputStream.class));
    IOUtils.closeQuietly(Mockito.any(InputStream.class));
    IOUtils.closeQuietly(Mockito.any(FileOutputStream.class));
}