// Path: xmlrpc/src/main/java/nl/nl2312/xmlrpc/Nothing.java
// public static final Nothing NOTHING = new Nothing();


import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import org.junit.Before;
import org.junit.Test;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import java.io.IOException;
import static com.google.common.truth.Truth.assertThat;
import static nl.nl2312.xmlrpc.Nothing.NOTHING;
package nl.nl2312.xmlrpc;




public final class BugzillaIntegrationTest {

    private Retrofit retrofit;

    @Before
    public void setUp() {
        HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
        logging.setLevel(HttpLoggingInterceptor.Level.BODY);

        OkHttpClient client = new OkHttpClient()
                .newBuilder()
                .addInterceptor(logging)
                .build();

        retrofit = new Retrofit.Builder()
                .client(client)
                .baseUrl("https://bugzilla.mozilla.org/")
                .addConverterFactory(XmlRpcConverterFactory.create())
                .build();
    }

    @Test
    public void bugzillaVersion() throws IOException {
        BugillaTestService service = retrofit.create(BugillaTestService.class);
// Path: xmlrpc/src/main/java/nl/nl2312/xmlrpc/Nothing.java
// public static final Nothing NOTHING = new Nothing();


// Path: xmlrpc/src/test/java/nl/nl2312/xmlrpc/BugzillaIntegrationTest.java
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import org.junit.Before;
import org.junit.Test;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import java.io.IOException;
import static com.google.common.truth.Truth.assertThat;
import static nl.nl2312.xmlrpc.Nothing.NOTHING;

package nl.nl2312.xmlrpc;




public final class BugzillaIntegrationTest {

    private Retrofit retrofit;

    @Before
    public void setUp() {
        HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
        logging.setLevel(HttpLoggingInterceptor.Level.BODY);

        OkHttpClient client = new OkHttpClient()
                .newBuilder()
                .addInterceptor(logging)
                .build();

        retrofit = new Retrofit.Builder()
                .client(client)
                .baseUrl("https://bugzilla.mozilla.org/")
                .addConverterFactory(XmlRpcConverterFactory.create())
                .build();
    }

    @Test
    public void bugzillaVersion() throws IOException {
        BugillaTestService service = retrofit.create(BugillaTestService.class);
        BugzillaVersion version = service.bugzillaVersion(NOTHING).execute().body();