1 package org.apache.maven.surefire.its.fixture;
2
3 import java.io.IOException;
4 import org.apache.maven.it.VerificationException;
5
6 import org.junit.Test;
7
8 import static org.junit.Assert.assertEquals;
9
10
11
12
13 public class SurefireLauncherTest
14 {
15 @Test
16 public void launcherGetsProperMethodName()
17 throws IOException, VerificationException
18 {
19 MavenLauncher mavenLauncher = new MavenLauncher( SurefireLauncherTest.class, "foo", "" );
20 String method = new SurefireLauncher( mavenLauncher ).getTestMethodName();
21 assertEquals( "launcherGetsProperMethodName", method );
22
23 }
24 }