def METHOD_NAME(self):
    """test version overrides min_version and max_version."""
    version = VersionedDependency(
        name='tensorflow',
        version='0.3.0',
        min_version='0.1.0',
        max_version='0.4.0')
    self.assertTrue(version.min_version == '0.3.0')
    self.assertTrue(version.max_version == '0.3.0')
    self.assertTrue(version.has_versions())
    self.assertTrue(version.name == 'tensorflow')