Package com.heroku.api.request

Source Code of com.heroku.api.request.LogStreamResponseTest

package com.heroku.api.request;

import com.heroku.api.Heroku;
import com.heroku.api.request.log.LogStreamResponse;
import org.testng.annotations.Test;

import java.io.IOException;
import java.net.URL;

public class LogStreamResponseTest {

    @Test
    public void testLogStream() throws IOException {
        LogStreamResponse response = new LogStreamResponse(new URL(Heroku.Config.ENDPOINT.value));
        response.openStream().close();
    }
}
TOP

Related Classes of com.heroku.api.request.LogStreamResponseTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.