Package pl.smsapi.api

Examples of pl.smsapi.api.UserFactory


  @Test
  //@Ignore
  public void userAddTest() throws ClientException {

    UserFactory smsApi = new UserFactory(client());

    UserResponse item;
    BaseAction action = smsApi.actionAdd()
        .setUsername(userTest)
        .setPassword(Client.MD5Digest("100costma100"))
        .setPasswordApi(Client.MD5Digest("200costam200"))
        .setActive(true)
        .setLimit(5.5)
View Full Code Here


  @Test
  //@Ignore
  public void userListTest() {

    UserFactory smsApi = new UserFactory(client());

    UsersResponse result;

    result = (UsersResponse) executeAction(smsApi.actionList());

    System.out.println("UserList:");

    for (UserResponse item : result.getList()) {
      renderUserItem(item);
View Full Code Here

  @Test
  //@Ignore
  public void userPointsTest() {

    UserFactory smsApi = new UserFactory(client());

    PointsResponse item;

    item = (PointsResponse) executeAction(smsApi.actionGetPoints());

    System.out.println("GetPoints:");

    if (item != null) {
      System.out.println("Points: " + item.getPoints());
View Full Code Here

TOP

Related Classes of pl.smsapi.api.UserFactory

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.