Fixed nightly failing tests in MOXy. Class.getDeclaredMethods() returns result in random order (by specification). In some JDK implementations it is always in the same order. The code was ok for get/set order. It was ready for set/get order, but it had some flaws. The bug was visible in XmlTransientUnsetPropTestCase when launched on Linux x64 JDK7 platform.