Merge pull request #690 from amogozov/master

Cleanup commented code
This commit is contained in:
Ilkka Seppälä 2018-01-02 19:29:14 +02:00 committed by GitHub
commit f87754917c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,8 +185,7 @@ public class DbCustomerDaoTest {
public class ConnectivityIssue {
private static final String EXCEPTION_CAUSE = "Connection not available";
//@Rule public ExpectedException exception = ExpectedException.none();
/**
* setup a connection failure scenario.
* @throws SQLException if any error occurs.
@ -194,8 +193,6 @@ public class DbCustomerDaoTest {
@BeforeEach
public void setUp() throws SQLException {
dao = new DbCustomerDao(mockedDatasource());
//exception.expect(Exception.class);
//exception.expectMessage(EXCEPTION_CAUSE);
}
private DataSource mockedDatasource() throws SQLException {