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

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


  }

  @Test
  public void adminCreateRoleAsHalJson() throws Exception {

    AdminCreateRoleDto createRoleRequest = new AdminCreateRoleDto();
    createRoleRequest.setName("Stock Manager");
    createRoleRequest.setDescription("Stock Manager roles");

    String actualResponse = configureAsClient(AdminRoleResource.class)
      .accept(HalMediaType.APPLICATION_HAL_JSON)
      .entity(createRoleRequest, MediaType.APPLICATION_JSON_TYPE)
      .post(String.class);
View Full Code Here

TOP

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

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.