SpdzDummyDataSupplier implements SpdzDataSupplier { @Override public SpdzTriple getNextTriple() { MultiplicationTripleShares rawTriple = supplier.getMultiplicationTripleShares(); return new SpdzTriple( toSpdzSInt(rawTriple.getLeft()), toSpdzSInt(rawTriple.getRight()), toSpdzSInt(rawTriple.getProduct())); } SpdzDummyDataSupplier(int myId, int noOfPlayers, FieldDefinition fieldDefinition,
      BigInteger secretSharedKey);  SpdzDummyDataSupplier(int myId, int noOfPlayers, FieldDefinition fieldDefinition,
      BigInteger secretSharedKey, int expPipeLength); @Override SpdzTriple getNextTriple(); @Override SpdzSInt[] getNextExpPipe(); @Override SpdzInputMask getNextInputMask(int towardPlayerId); @Override SpdzSInt getNextBit(); @Override FieldDefinition getFieldDefinition(); @Override FieldElement getSecretSharedKey(); @Override SpdzSInt getNextRandomFieldElement();  }
@Test public void testGetNextTriple() { testGetNextTriple(2); testGetNextTriple(3); testGetNextTriple(5); }