### Question:
Ed25519EncodedGroupElement { public byte[] getRaw() { return this.values; } Ed25519EncodedGroupElement(final byte[] values); byte[] getRaw(); Ed25519GroupElement decode(); Ed25519FieldElement getAffineX(); Ed25519FieldElement getAffineY(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }### Answer:
@Test public void canBeCreatedFromByteArray() { Ed25519EncodedGroupElement element = new Ed25519EncodedGroupElement(new byte[32]); Assertions.assertEquals(32, element.getRaw().length); }
@Test public void getRawReturnsUnderlyingArray() { final byte[] values = new byte[32]; values[0] = 5; values[6] = 15; values[23] = -67; final Ed25519EncodedGroupElement encoded = new Ed25519EncodedGroupElement(values); MatcherAssert.assertThat(values, IsEqual.equalTo(encoded.getRaw())); }