Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class EmployeeDaoTestUsingRule{
- @Rule
- public MyConnectionRule myConnection = new MyConnectionRule();
- @Test
- public void save(){
- //connection is being used to save the data
- //myConnection.getConnection().save();
- }
- @Test
- public void delete(){
- //Connection required
- //myConnection.getConnection()
- //delete operation
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement