Code example for BasicStatusLine

0
		super.setUp(); 
 
		// Set up the MockClient 
		this.mockEntity = new MockHttpEntity();
 
		StatusLine statusLine = new BasicStatusLine(HttpVersion.HTTP_1_1,
		                                            HttpStatus.SC_OK,
		                                            "OK"); 
    	this.mockResponse = new MockHttpResponse(this.mockEntity, statusLine);
    	this.mockClient = new MockHttpClient(this.mockResponse);
        this.loadLiveLibraryHeaderChecker();
    	this.exceptionQueue = new LinkedBlockingQueue<LiveOperationException>();
    	this.liveConnectClient = TestUtils.newLiveConnectClient(this.mockClient);
	} 
 
	@Override 
	protected void tearDown() throws Exception { 
	    super.tearDown(); 
 
	    this.mockEntity = null;
Experience pair programming with AI  Get Codota for Java