diff --git a/pom.xml b/pom.xml
index de78097..6da802a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,6 +86,20 @@
2.10.1
compile
+
+
+ io.rest-assured
+ rest-assured
+ 5.4.0
+ test
+
+
+
+ org.assertj
+ assertj-core
+ 3.26.3
+ test
+
diff --git a/src/main/java/hse/java/practice/restcountries/AllTests.java b/src/main/java/hse/java/practice/restcountries/AllTests.java
new file mode 100644
index 0000000..a59d321
--- /dev/null
+++ b/src/main/java/hse/java/practice/restcountries/AllTests.java
@@ -0,0 +1,123 @@
+package hse.java.practice.restcountries;
+
+import io.restassured.RestAssured;
+import io.restassured.response.Response;
+import org.junit.jupiter.api.Test;
+import static org.assertj.core.api.Assertions.assertThat;
+
+import java.util.List;
+
+public class AllTests {
+
+ @BeforeAll
+ static void setupURL() {
+ RestAssured.baseURI = "https://restcountries.com";
+ RestAssured.basePath = "/v3.1";
+ }
+
+ // GET /all --> 200, список стран не пустой
+ @Test
+ void ShouldReturnCountriesWithNamesAndFlags() {
+ Response response = RestAssured
+ .given()
+ .when()
+ .get("/all?fields=name,flags");
+
+ assertThat(response.statusCode()).isEqualTo(200);
+
+ List