2017-05-15 20:56:14 +02:00

21 lines
418 B
Java

package com.baeldung.hikaricp;
import java.util.List;
import org.junit.Ignore;
import org.junit.Test;
import java.sql.SQLException;
import static org.junit.Assert.assertEquals;
public class HikariCPTest {
@Test
@Ignore
public void givenConnection_thenFetchDbData() throws SQLException {
List<Employee> employees = HikariCPDemo.fetchData();
assertEquals(4, employees.size());
}
}