1 /*
2 * Copyright (C) 2021, Thomas Wolf <thomas.wolf@paranor.ch> and others
3 *
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Distribution License v. 1.0 which is available at
6 * https://www.eclipse.org/org/documents/edl-v10.php.
7 *
8 * SPDX-License-Identifier: BSD-3-Clause
9 */
10 package org.eclipse.jgit.transport.ssh.jsch;
11
12 import static org.junit.Assert.assertNotNull;
13
14 import org.eclipse.jgit.transport.SshSessionFactory;
15 import org.junit.Test;
16
17 public class ServiceLoaderTest {
18
19 @Test
20 public void testDefaultFactoryFound() {
21 SshSessionFactory defaultFactory = SshSessionFactory.getInstance();
22 assertNotNull(defaultFactory);
23 }
24 }