@BeforeMethod
Public void accountlogin()
{
System.out.println(“Account has been logged in”)
}
@AfterMethod
Public void accountlogout()
{
System.out.println(“Account has been logged out”)
}
@test(priority=0)
Public void updateprofile()
{
System.out.println(“profile has been updated using update profile method”)
}
@test(priority=1)
Public void updateaccount()
{
System.out.println(“account has been updated using update account method”)
}