File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
dao/src/test/java/com/iluwatar/dao Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -185,17 +185,14 @@ public void updationShouldBeSuccessAndAccessingTheSameCustomerShouldReturnUpdate
185185 public class ConnectivityIssue {
186186
187187 private static final String EXCEPTION_CAUSE = "Connection not available" ;
188- //@Rule public ExpectedException exception = ExpectedException.none();
189-
188+
190189 /**
191190 * setup a connection failure scenario.
192191 * @throws SQLException if any error occurs.
193192 */
194193 @ BeforeEach
195194 public void setUp () throws SQLException {
196195 dao = new DbCustomerDao (mockedDatasource ());
197- //exception.expect(Exception.class);
198- //exception.expectMessage(EXCEPTION_CAUSE);
199196 }
200197
201198 private DataSource mockedDatasource () throws SQLException {
You can’t perform that action at this time.
0 commit comments