@@ -0,0 +1,1671 @@
+package org.simpleframework.xml.core;%0A%0Aimport java.io.StringWriter;%0A%0Aimport org.simpleframework.xml.Attribute;%0Aimport org.simpleframework.xml.Root;%0Aimport org.simpleframework.xml.ValidationTestCase;%0A%0Apublic class ConstructorParameterMatchTest extends ValidationTestCase %7B%0A%0A   @Root%0A   public static class BoardStateMove %7B%0A%0A      @Attribute%0A      public final String from;%0A      %0A      @Attribute%0A      public final String to;%0A      %0A      @Attribute%0A      public final String fromPiece;%0A      %0A      @Attribute(required=false)%0A      public final String toPiece;%0A      %0A      @Attribute%0A      public final String moveDirection;%0A      %0A      public BoardStateMove(%0A            @Attribute(name=%22from%22) String from,%0A            @Attribute(name=%22to%22) String to,%0A            @Attribute(name=%22fromPiece%22) String fromPiece,%0A            @Attribute(name=%22toPiece%22) String toPiece,%0A            @Attribute(name=%22moveDirection%22) String moveDirection)%0A      %7B%0A         this.moveDirection = moveDirection;%0A         this.fromPiece = fromPiece;%0A         this.toPiece = toPiece;%0A         this.from = from;%0A         this.to = to;%0A      %7D%0A   %7D%0A   %0A   public void testParameterMatch() throws Exception %7B%0A      Persister p = new Persister();%0A      BoardStateMove m = new BoardStateMove(%22A5%22, %22A6%22, %22KING%22, null, %22NORTH%22);%0A      StringWriter w = new StringWriter();%0A      p.write(m, w);%0A      String s = w.toString();%0A      BoardStateMove x = p.read(BoardStateMove.class, s);%0A      assertEquals(m.from, x.from);%0A      assertEquals(m.to, x.to);%0A      assertEquals(m.fromPiece, x.fromPiece);%0A      assertEquals(m.toPiece, x.toPiece);%0A      assertEquals(m.moveDirection, x.moveDirection);%0A   %7D%0A%0A%7D%0A

Update tests