def getJunitTestRunnerClass(version):
    """ Get the correct junit test running class for the given junit version

    Parameters
    ----------
    version : int
        The major version for junit

    Returns
    -------
    str or None
        Returns str if `version` is either 3 or 4
        Returns None otherwise

    """
    if version == 4:
        return "org.junit.runner.JUnitCore"
    elif version == 3:
        # Use the JUnit 3 test batch runner
        # info here: http://www.geog.leeds.ac.uk/people/a.turner/src/andyt/java/grids/lib/junit-3.8.1/doc/cookbook/cookbook.htm
        # Does anyone actually use this version of junit?????
        return "junit.textui.TestRunner"
    return None