package com.uwetrottmann.thetvdb;

import org.junit.BeforeClass;

public abstract class BaseTestCase {

    protected static final String API_KEY = "";

    private static final boolean DEBUG = true;

    private static final TheTvdb theTvdb = new TheTvdb(API_KEY);

    @BeforeClass
    public static void setUpOnce() {
        if (API_KEY.length() == 0) {
            throw new IllegalArgumentException("Set a valid value for API_KEY.");
        }
        theTvdb.enableDebugLogging(DEBUG);
    }

    protected final TheTvdb getTheTvdb() {
        return theTvdb;
    }

}

@@ -97,16 +97,108 @@
 Case %7B%0A%0A
+    /** %3Cb%3EWARNING:%3C/b%3E do not use this in your code. This is for testing purposes only. */%0A
     prot
@@ -234,16 +234,32 @@
 _KEY = %22
+0B0BB36928753CD8
 %22;%0A%0A    

Add test API key.