// Path: gmaven-adapter-api/src/main/java/org/codehaus/gmaven/adapter/GroovyRuntime.java
// public interface GroovyRuntime
// {
//   ScriptExecutor createScriptExecutor();
// 
//   ConsoleWindow createConsoleWindow();
// 
//   ShellRunner createShellRunner();
// 
//   void cleanup();
// }


import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.sonatype.sisu.litmus.testsupport.TestSupport;
import org.codehaus.gmaven.adapter.GroovyRuntime;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.mock;
/*
 * Copyright (c) 2006-present the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.codehaus.gmaven.plugin;





/**
 * Tests for {@link GroovyRuntimeFactory}.
 *
 * These tests assume that the underlying {@link java.util.ServiceLoader} functions,
 * so we by-pass it and only validate the handling around the loader.
 */
public class GroovyRuntimeFactoryTest
    extends TestSupport
{
  private GroovyRuntimeFactory underTest;

  @Mock
  private ClassLoader classLoader;

// Path: gmaven-adapter-api/src/main/java/org/codehaus/gmaven/adapter/GroovyRuntime.java
// public interface GroovyRuntime
// {
//   ScriptExecutor createScriptExecutor();
// 
//   ConsoleWindow createConsoleWindow();
// 
//   ShellRunner createShellRunner();
// 
//   void cleanup();
// }


// Path: groovy-maven-plugin/src/test/java/org/codehaus/gmaven/plugin/GroovyRuntimeFactoryTest.java
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.sonatype.sisu.litmus.testsupport.TestSupport;
import org.codehaus.gmaven.adapter.GroovyRuntime;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.mock;

/*
 * Copyright (c) 2006-present the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.codehaus.gmaven.plugin;





/**
 * Tests for {@link GroovyRuntimeFactory}.
 *
 * These tests assume that the underlying {@link java.util.ServiceLoader} functions,
 * so we by-pass it and only validate the handling around the loader.
 */
public class GroovyRuntimeFactoryTest
    extends TestSupport
{
  private GroovyRuntimeFactory underTest;

  @Mock
  private ClassLoader classLoader;

  private List<GroovyRuntime> services;