/*
 * Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
 */

package akka.cluster.ddata;

import akka.cluster.Cluster;

import java.math.BigInteger;

public class PNCounterTest {


  public void compileOnlyPNCounterApiTest() {
    // primarily to check API accessibility with overloads/types
    Cluster node1 = null;
    Cluster node2 = null;

    PNCounter c1 = PNCounter.create();

    PNCounter c2 = c1.increment(node1, BigInteger.valueOf(3));
    PNCounter c3 = c2.increment(node1, 4L);

    PNCounter c4 = c3.decrement(node2, BigInteger.valueOf(2));
    PNCounter c5 = c4.decrement(node2, 7L);

  }
}
