package com.uwetrottmann.thetvdb;

import org.junit.BeforeClass;

public abstract class BaseTestCase {

    // Do NOT use this token in your application, for testing purposes only!
    private static final String JSON_WEB_TOKEN = "";

    private static final boolean DEBUG = true;

    private static final TheTvdb theTvdb = new TheTvdb();

    @BeforeClass
    public static void setUpOnce() {
        theTvdb.setJsonWebToken(JSON_WEB_TOKEN);
        theTvdb.setIsDebug(DEBUG);
    }

    protected final TheTvdb getTheTvdb() {
        return theTvdb;
    }

}

@@ -385,24 +385,186 @@
 tUpOnce() %7B%0A
+        if (JSON_WEB_TOKEN.length() == 0) %7B%0A            System.err.println(%22No valid JSON Web Token is set. API methods other than /login will fail.%22);%0A        %7D%0A
         theT

Add warning if no JSON web token is set.