from typing import List
from pathlib import Path


def get_filenames(mockname: str) -> List[str]:
    """
    scans all headers in test/mocks/{mockname}, return corresponding file names

    Args:
        mockname: string, mock directory name

    Returns:
        List of file name for the headers in test/mock/{mocksname}
    """
    dir = Path("test/mocks/{}/".format(mockname))
    filenames = list(map(str, dir.glob('*.h')))
    return filenames