@Test
public void testListToArray() {
BoundMapperFacade<A,D> mapperFacade = MappingUtil.getMapperFactory().getMapperFacade(A.class, D.class);
D source = new D();
source.setBuffer(Arrays.asList((byte)1,(byte)2,(byte)3,(byte)4));
A destination = mapperFacade.mapReverse(source);
Assert.assertArrayEquals(new byte[] {(byte)1,(byte)2,(byte)3,(byte)4}, destination.getBuffer());