Package org.multibit.mbm.client.interfaces.rest.api.user

Examples of org.multibit.mbm.client.interfaces.rest.api.user.AdminUpdateUserDto


  }

  @Test
  public void adminUpdateUserAsHalJson() throws Exception {

    AdminUpdateUserDto updateUserRequest = new AdminUpdateUserDto();
    updateUserRequest.setUsername("charlie");
    updateUserRequest.setPasswordDigest("charlie1");

    String actualResponse = configureAsClient("/admin/user/1")
      .accept(HalMediaType.APPLICATION_HAL_JSON)
      .entity(updateUserRequest, MediaType.APPLICATION_JSON_TYPE)
      .put(String.class);
View Full Code Here

TOP

Related Classes of org.multibit.mbm.client.interfaces.rest.api.user.AdminUpdateUserDto

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.