Package unit

Source Code of unit.PushCreatePayloadBuilderTest

package unit;

import org.junit.Assert;
import org.junit.Test;

import com.notnoop.apns.APNS;
import com.notnoop.apns.PayloadBuilder;

public class PushCreatePayloadBuilderTest {
 
  //Test for issue #357
  @Test
  public void PushCreatePayloadBuilder(){
    try
      APNS apns = null;
      PayloadBuilder pb = apns.newPayload();
    }
    catch(Throwable e){
      Assert.fail("Test failed:" +e.getMessage());
    }
  }
}
TOP

Related Classes of unit.PushCreatePayloadBuilderTest

TOP
Copyright © 2018 www.massapi.com. 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.