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