Examples of StackOverFlowQuestion


Examples of com.so.happy.spi.StackOverFlowQuestion

    private static final Injector INJECTOR = Guice.createInjector(new SOModule());

    @Test
    public void shouldBeAbleToLoadFirst100SOQuestionsByIndicatedTagRestlet() throws IOException {
        final StackOverFlowQuestion happy = INJECTOR.getInstance(StackOverFlowQuestion.class);
        final String expectedQuestionId = "21733439";
        final StackOverflowQuestionEntity question = happy.findQuestionById(expectedQuestionId);
        Assertions.assertThat(question.getQuestionId()).isNotEmpty().isEqualTo(expectedQuestionId);
    }
View Full Code Here
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.