Cleanup commented code
This commit is contained in:
parent
dea2316f1f
commit
0306161380
@ -185,8 +185,7 @@ 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.
|
||||||
* @throws SQLException if any error occurs.
|
* @throws SQLException if any error occurs.
|
||||||
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user