Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.devbliss.doctest;
 
public abstract class DocTest extends LogicDocTest {
    private static PostFactory POST_FACTORY;
    private static Injector injector;
    private static HtmlItems TEMPLATES;
    private static JSONHelper JSON_HELPER;
    private static ApiTest API_TEST;
    private static DocTestMachine DOC_TEST_MACHINE;
    private static FileHelper FILE_HELPER;
    static {
         = Guice.createInjector(new GuiceModule());
         = .getInstance(ApiTest.class);
         = .getInstance(JSONHelper.class);
         = .getInstance(HtmlItems.class);
         = .getInstance(FileHelper.class);
    }
    protected static void setApi(ApiTest api) {
         = api;
    }
    public DocTest() {
    }
New to GrepCode? Check out our FAQ X