@Test
public void testCopyFromWithBytesValue() {

  final BytesValue filledValue = BytesValue.of(randomUUID().toString().getBytes());
  final BytesValue emptyValue = BytesValue.EMPTY;
  ;
  final BytesValue nullValue = null;
  assertEquals(ByteString.copyFrom(filledValue.getValue()), copyFrom(filledValue));
  assertEquals(ByteString.EMPTY, copyFrom(emptyValue));
  assertEquals(ByteString.EMPTY, copyFrom(nullValue));
}