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

Examples of org.multibit.mbm.client.interfaces.rest.api.role.AdminUpdateRoleDto


  }

  @Test
  public void adminUpdateRoleAsHalJson() throws Exception {

    AdminUpdateRoleDto updateRoleRequest = new AdminUpdateRoleDto();
    updateRoleRequest.setName("charlie");
    updateRoleRequest.setDescription("charlie1");
    // TODO Re-instate this
    // updateRoleRequest.getAuthorities().add(Authority.ROLE_STORES_MANAGER.name());

    String actualResponse = configureAsClient("/admin/role/1")
      .accept(HalMediaType.APPLICATION_HAL_JSON)
View Full Code Here

TOP

Related Classes of org.multibit.mbm.client.interfaces.rest.api.role.AdminUpdateRoleDto

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.