serializers.add(new XStreamXMLSerialization(null, null, null, null));
serializers.add(new XStreamJSONSerialization(null, null, null, null));
serializers.add(new HTMLSerialization(null, null));
serializers.add(new RestfulSerialization(null, null, null, null, null, null));
serializers.add(new DumbSerialization());
Collections.sort(serializers, new PackageComparator());
Assert.assertEquals("br.com.caelum.vraptor.other.pack4ge", serializers.get(0).getClass().getPackage().getName());
Assert.assertEquals("br.com.caelum.vraptor.restfulie.serialization", serializers.get(1).getClass().getPackage().getName());