De-duplicate redundant code.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1582179 13f79535-47bb-0310-9956-ffa450edef68
Rename test methods to better reflect purpose.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1582180 13f79535-47bb-0310-9956-ffa450edef68
Combine random access appender tests.

  - Gotta love it when you can do that!

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1582184 13f79535-47bb-0310-9956-ffa450edef68
@Override must be absent to compile on Java 6!

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1582185 13f79535-47bb-0310-9956-ffa450edef68