Typos a/an (#13812)
This commit is contained in:
@@ -36,14 +36,14 @@ public final class TimetablesV1ApiStub implements TimetablesV1Api {
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an new {@link TimetablesV1ApiStub}, that returns the given result.
|
||||
* Creates a new {@link TimetablesV1ApiStub}, that returns the given result.
|
||||
*/
|
||||
public static TimetablesV1ApiStub createWithResult(Timetable timetable) {
|
||||
return new TimetablesV1ApiStub(timetable);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an new {@link TimetablesV1ApiStub} that throws an Exception.
|
||||
* Creates a new {@link TimetablesV1ApiStub} that throws an Exception.
|
||||
*/
|
||||
public static TimetablesV1ApiStub createWithException() {
|
||||
return new TimetablesV1ApiStub(null);
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.net.URL;
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
||||
/**
|
||||
* Helper interface for jUnit Tests to provide an {@link TimetablesApiTestModule}.
|
||||
* Helper interface for jUnit Tests to provide a {@link TimetablesApiTestModule}.
|
||||
*
|
||||
* @author Sönke Küper - initial contribution.
|
||||
*/
|
||||
@@ -33,7 +33,7 @@ public interface TimetablesV1ImplTestHelper {
|
||||
public static final String CLIENT_SECRET = "354c8161cd7fb0936c840240280c131e";
|
||||
|
||||
/**
|
||||
* Creates an {@link TimetablesApiTestModule} that uses http response data from file system.
|
||||
* Creates a {@link TimetablesApiTestModule} that uses http response data from file system.
|
||||
* Uses default-testdata from directory /timetablesData
|
||||
*/
|
||||
public default TimetablesApiTestModule createApiWithTestdata() throws Exception {
|
||||
@@ -41,7 +41,7 @@ public interface TimetablesV1ImplTestHelper {
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an {@link TimetablesApiTestModule} that uses http response data from file system.
|
||||
* Creates a {@link TimetablesApiTestModule} that uses http response data from file system.
|
||||
*
|
||||
* @param dataDirectory Directory within test-resources containing the stub-data.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user