25 lines
689 B
Java
25 lines
689 B
Java
/*
|
|
* Copyright (C) 2021, Thomas Wolf <thomas.wolf@paranor.ch> and others
|
|
*
|
|
* This program and the accompanying materials are made available under the
|
|
* terms of the Eclipse Distribution License v. 1.0 which is available at
|
|
* https://www.eclipse.org/org/documents/edl-v10.php.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
package org.eclipse.jgit.transport.ssh.jsch;
|
|
|
|
import static org.junit.Assert.assertNotNull;
|
|
|
|
import org.eclipse.jgit.transport.SshSessionFactory;
|
|
import org.junit.Test;
|
|
|
|
public class ServiceLoaderTest {
|
|
|
|
@Test
|
|
public void testDefaultFactoryFound() {
|
|
SshSessionFactory defaultFactory = SshSessionFactory.getInstance();
|
|
assertNotNull(defaultFactory);
|
|
}
|
|
}
|