Advertisement
Guest User

Untitled

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