@Test
public void testInitializeWithClassListShouldParseJavaClass() throws IOException {

    //GIVEN
    List<String> list = new ArrayList<>();
    list.add(FOLDER_NAME);
    Collection<File> filesInFolder = new ArrayList<>();
    String classFileName = "Something.class";
    String className = "Something";
    File classFile = new File(classFileName);
    filesInFolder.add(classFile);
    given(fileUtils.listFiles(FOLDER)).willReturn(filesInFolder);
    given(javaClassFactory.createJavaClass(classFile)).willReturn(javaClass);
    given(javaClass.getClassName()).willReturn(className);
    //WHEN
    underTest.initialize(list);
    //THEN
    verify(javaClassFactory, times(1)).createJavaClass(classFile);
}