package ru.stqa.pft.addressbook;

import org.testng.annotations.BeforeMethod;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.*;

public class NewAddressCreation extends TestBase {

    @Test
    public void NewAddressCreation() {
        addNewAddress();
        fillAddressForm(new AddressData("MyName", "SecondName", "Nick", "MyAddress", "123456", "myname.secondname@e-mail.zz", "test"));
        submitAddressCreation();
        returnToHomePage();
    }
}

@@ -61,219 +61,12 @@
 ons.
-BeforeMethod;%0Aimport org.testng.annotations.AfterMethod;%0Aimport org.testng.annotations.Test;%0A%0Aimport java.util.concurrent.TimeUnit;%0A%0Aimport org.openqa.selenium.firefox.FirefoxDriver;%0Aimport org.openqa.selenium.*
+Test
 ;%0A%0Ap

optimize imports