// Path: src/test/java/com/frameworkium/integration/restfulbooker/api/constant/BookerEndpoint.java
// public enum BookerEndpoint implements Endpoint {
// 
//     BASE_URI("https://restful-booker.herokuapp.com"),
//     PING("/ping"),
//     BOOKING("/booking"),
//     BOOKING_ID("/booking/%d"),
//     AUTH("/auth");
// 
//     private String url;
// 
//     BookerEndpoint(String url) {
//         this.url = url;
//     }
// 
//     /**
//      * @param params Arguments referenced by the format specifiers in the url.
//      * @return A formatted String representing the URL of the given constant.
//      */
//     @Override
//     public String getUrl(Object... params) {
//         return String.format(url, params);
//     }
// 
// }


import com.frameworkium.integration.restfulbooker.api.constant.BookerEndpoint;
import com.frameworkium.integration.restfulbooker.api.service.AbstractBookerService;
import io.restassured.RestAssured;
import io.restassured.specification.ResponseSpecification;
import org.apache.http.HttpStatus;
package com.frameworkium.integration.restfulbooker.api.service.ping;


public class PingService extends AbstractBookerService {

    public String ping() {
// Path: src/test/java/com/frameworkium/integration/restfulbooker/api/constant/BookerEndpoint.java
// public enum BookerEndpoint implements Endpoint {
// 
//     BASE_URI("https://restful-booker.herokuapp.com"),
//     PING("/ping"),
//     BOOKING("/booking"),
//     BOOKING_ID("/booking/%d"),
//     AUTH("/auth");
// 
//     private String url;
// 
//     BookerEndpoint(String url) {
//         this.url = url;
//     }
// 
//     /**
//      * @param params Arguments referenced by the format specifiers in the url.
//      * @return A formatted String representing the URL of the given constant.
//      */
//     @Override
//     public String getUrl(Object... params) {
//         return String.format(url, params);
//     }
// 
// }


// Path: src/test/java/com/frameworkium/integration/restfulbooker/api/service/ping/PingService.java
import com.frameworkium.integration.restfulbooker.api.constant.BookerEndpoint;
import com.frameworkium.integration.restfulbooker.api.service.AbstractBookerService;
import io.restassured.RestAssured;
import io.restassured.specification.ResponseSpecification;
import org.apache.http.HttpStatus;

package com.frameworkium.integration.restfulbooker.api.service.ping;


public class PingService extends AbstractBookerService {

    public String ping() {
        return get(BookerEndpoint.PING.getUrl())