hikaricp module (#1781)
* jvm log forging * jvm log forging * jvm log forging * log forging * adding hikariCP module * try-with-resources * adding employee use case
This commit is contained in:
committed by
Zeger Hendrikse
parent
0be7de2c42
commit
1cc1f703be
@@ -0,0 +1,19 @@
|
||||
package com.baeldung.hikaricp;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class HikariCPTest {
|
||||
|
||||
@Test
|
||||
// @Ignore
|
||||
public void givenConnection_thenFetchDbData() {
|
||||
List<Employee> employees = HikariCPDemo.fetchData();
|
||||
assertEquals(4, employees.size());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user