This test looks OK, but for it to actually validate the behaviour you should really add a test to make sure that "get_all_generic_methods_filenames(alternative_path)" sends back the correct list of file names (and not just the number). This would be a new unit test, in this file, where you build an array of the expected filenames, then pass it to the assertEquals function.

Could you add that?