Cleanup commented code

This commit is contained in:
Artur Mogozov 2018-01-02 09:24:18 +09:00
parent dea2316f1f
commit 0306161380

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 {