BISERVER-9249 - Updated the test case to include mock versions of new methods introduced in Java 7

...s included in Java 7

BISERVER-9249 - Updated the test casw (MockObject) to include new methods included in Java 7