Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public class DeptDaoTestUsingRule{
  2. @Rule
  3. public MyConnectionRule myConnection = new MyConnectionRule();
  4.  
  5. @Test
  6. public void save(){
  7. //connection is being used to save the data
  8. //myConnection.getConnection().save();
  9. }
  10.  
  11. @Test
  12. public void delete(){
  13. //Connection required
  14. //delete operation
  15. //myConnection.getConnection()
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement