Package com.linkedin.restli.client.testutils

Examples of com.linkedin.restli.client.testutils.MockSuccessfulResponseFutureBuilder


  @Test
  @SuppressWarnings("rawtypes")
  public void testBuildIllegalStatus()
  {
    MockSuccessfulResponseFutureBuilder builder = new MockSuccessfulResponseFutureBuilder();
    try
    {
      builder.setStatus(404);
      Assert.fail("Settting a non 2xx status should have failed!");
    }
    catch (IllegalArgumentException e)
    {
      // expected
View Full Code Here

TOP

Related Classes of com.linkedin.restli.client.testutils.MockSuccessfulResponseFutureBuilder

Copyright © 2018 www.massapicom. 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.