### Question:
TypeEncoder { static <T extends Type> String encodeArrayValues(Array<T> value) { StringBuilder result = new StringBuilder(); for (Type type:value.getValue()) { result.append(TypeEncoder.encode(type)); } return result.toString(); } private  TypeEncoder(); @SuppressWarnings("unchecked") static String encode(Type parameter);  }### Answer:
@Test public void testFixedArray() { StaticArray<Ufixed> array = new StaticArray2<>( new Ufixed(BigInteger.valueOf(0x2), BigInteger.valueOf(0x2)), new Ufixed(BigInteger.valueOf(0x8), BigInteger.valueOf(0x8)) ); assertThat(TypeEncoder.encodeArrayValues(array), is("0000000000000000000000000000000220000000000000000000000000000000" + "0000000000000000000000000000000880000000000000000000000000000000")); }