nl: setup for connection success scenario . concode_field_sep String DB_URL concode_elem_sep DbCustomerDao dao concode_elem_sep Customer existingCustomer concode_elem_sep String EXCEPTION_CAUSE concode_elem_sep ExpectedException exception concode_field_sep void addingShouldResultInSuccess concode_elem_sep void deletionShouldBeFailureAndNotAffectExistingCustomers concode_elem_sep void retrievingAllCustomersFailsWithExceptionAsFeedbackToClient concode_elem_sep void updatingACustomerFailsWithFeedbackToTheClient concode_elem_sep void retrieveShouldReturnNoCustomer concode_elem_sep void createSchema concode_elem_sep void updationShouldBeFailureAndNotAffectExistingCustomers concode_elem_sep void deletionShouldBeSuccessAndCustomerShouldBeNonAccessible concode_elem_sep void addingShouldResultInFailureAndNotAffectExistingCustomers concode_elem_sep void deleteSchema concode_elem_sep void assertCustomerCountIs concode_elem_sep void addingACustomerFailsWithExceptionAsFeedbackToClient concode_elem_sep DataSource mockedDatasource concode_elem_sep void updationShouldBeSuccessAndAccessingTheSameCustomerShouldReturnUpdatedInformation concode_elem_sep void retrievingACustomerByIdFailsWithExceptionAsFeedbackToClient concode_elem_sep int getNonExistingCustomerId concode_elem_sep void deletingACustomerFailsWithExceptionAsFeedbackToTheClient
code: void function ( ) { JdbcDataSource loc0 = new JdbcDataSource ( ) ; loc0 . setURL ( DB_URL ) ; dao = new DbCustomerDao ( loc0 ) ; boolean loc1 = dao . add ( existingCustomer ) ; assertTrue ( loc1 ) ; }