SpdzDummyDataSupplier implements SpdzDataSupplier { @Override public SpdzSInt getNextRandomFieldElement() { return toSpdzSInt(supplier.getRandomElementShare()); } 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 testGetNextRandomFieldElement() { testGetNextRandomFieldElement(2); testGetNextRandomFieldElement(3); testGetNextRandomFieldElement(5); }