use of com.quorum.tessera.encryption.SharedKey in project tessera by ConsenSys.
the class KaliumTest method generatingRandomKeyReturnsCorrectSize.
@Test
public void generatingRandomKeyReturnsCorrectSize() {
final int expectedKeysize = 32;
final SharedKey key = this.kalium.createSingleKey();
verify(this.sodium).randombytes(any(byte[].class), eq(expectedKeysize));
}