We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dea2316 + 0306161 commit f877549Copy full SHA for f877549
dao/src/test/java/com/iluwatar/dao/DbCustomerDaoTest.java
@@ -185,17 +185,14 @@ public void updationShouldBeSuccessAndAccessingTheSameCustomerShouldReturnUpdate
185
public class ConnectivityIssue {
186
187
private static final String EXCEPTION_CAUSE = "Connection not available";
188
- //@Rule public ExpectedException exception = ExpectedException.none();
189
-
+
190
/**
191
* setup a connection failure scenario.
192
* @throws SQLException if any error occurs.
193
*/
194
@BeforeEach
195
public void setUp() throws SQLException {
196
dao = new DbCustomerDao(mockedDatasource());
197
- //exception.expect(Exception.class);
198
- //exception.expectMessage(EXCEPTION_CAUSE);
199
}
200
201
private DataSource mockedDatasource() throws SQLException {
0 commit comments