package cz.moneta.test.dsl.cebia;

import cz.moneta.test.harness.context.StoreAccessor;
import cz.moneta.test.harness.endpoints.cebia.CebiaWsEndpoint;
import cz.moneta.test.harness.support.ws.Builders;
import cz.moneta.test.harness.support.ws.WsRequest;

@Deprecated(since = "unmaintained since update to Java 17")
public class Cebia {

    private final StoreAccessor harness;

    public Cebia(StoreAccessor harness) {
        this.harness = harness;
    }

    public <RESP> WsRequest<RESP> prepareRequest(Object request, Class<RESP> responseClass) {
        return Builders.newWsBuilder(request, responseClass, CebiaWsEndpoint.class, harness);
    }

}
