/*
 * Copyright 2015-2016 the original author or authors.
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution and is available at
 *
 * http://www.eclipse.org/legal/epl-v10.html
 */

package org.junit.gen5.launcher.main;

import static java.util.Arrays.asList;

import org.junit.gen5.engine.TestEngine;

/**
 * @since 5.0
 */
public class LauncherFactoryForTestingPurposesOnly {

	public static DefaultLauncher createLauncher(TestEngine... engines) {
		return createLauncher(asList(engines));
	}

	public static DefaultLauncher createLauncher(Iterable<TestEngine> engines) {
		return new DefaultLauncher(engines);
	}

}

@@ -588,132 +588,8 @@
 urn 
-createLauncher(asList(engines));%0A%09%7D%0A%0A%09public static DefaultLauncher createLauncher(Iterable%3CTestEngine%3E engines) %7B%0A%09%09return 
 new 
@@ -603,16 +603,23 @@
 Launcher
+(asList
 (engines
@@ -619,16 +619,17 @@
 engines)
+)
 ;%0A%09%7D%0A%0A%7D%0A

Simplify LauncherFactoryForTestingPurposesOnly