/*
 * (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/)
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser General Public License
 * (LGPL) version 2.1 which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/lgpl-2.1.html
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 */
package io.github.bonigarcia.wdm.test;

import org.junit.Assert;
import org.junit.Test;

import io.github.bonigarcia.wdm.ChromeDriverManager;

/**
 * Test asserting chromedriver versions.
 *
 * @author Boni Garcia (boni.gg@gmail.com)
 * @since 1.2.1
 */
public class ChromeVersionTest {

	@Test
	public void testLatestVersion() throws Exception {
		ChromeDriverManager.getInstance().setup();
		String driverVersion = ChromeDriverManager.getInstance().getDownloadedVersion();
		Assert.assertNotNull(driverVersion);
	}

	@Test
	public void testSpecificVersions() throws Exception {
		String[] specificVersions = { "2.10", "2.11", "2.12", "2.13", "2.14", "2.15", "2.16", "2.17" };

		for (String specificVersion : specificVersions) {
			ChromeDriverManager.getInstance().setup(specificVersion);
			String driverVersion = ChromeDriverManager.getInstance().getDownloadedVersion();

			Assert.assertEquals(specificVersion, driverVersion);
		}
	}

}

@@ -1039,32 +1039,37 @@
 er.getInstance()
+%0A%09%09%09%09
 .getDownloadedVe
@@ -1077,16 +1077,16 @@
 sion();%0A
-
 %09%09Assert
@@ -1253,17 +1253,21 @@
  %222.14%22,
- 
+%0A%09%09%09%09
 %222.15%22, 
@@ -1280,16 +1280,40 @@
 , %222.17%22
+, %222.18%22, %222.19%22, %222.20%22
  %7D;%0A%0A%09%09f
@@ -1422,16 +1422,16 @@
 rsion);%0A
-
 %09%09%09Strin
@@ -1481,16 +1481,22 @@
 stance()
+%0A%09%09%09%09%09
 .getDown

Update chromedriver versions in test to check specific versions