def METHOD_NAME(self):
    """test if min_version and max_version are configured when version is
    not given."""
    version = VersionedDependency(
        name='tensorflow', min_version='0.1.0', max_version='0.4.0')
    self.assertTrue(version.min_version == '0.1.0')
    self.assertTrue(version.max_version == '0.4.0')
    self.assertTrue(version.has_versions())