Package com.linkedin.restli.client.testutils

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


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

TOP

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

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.