/**
* @tests java.nio.channels.FileLock#position()
*/
public void test_position() {
FileLock fileLock1 = new MockFileLock(readWriteChannel, 20, 100, true);
assertEquals(20, fileLock1.position());
final long position = ((long) Integer.MAX_VALUE + 1);
FileLock fileLock2 = new MockFileLock(readWriteChannel, position, 100,
true);
assertEquals(position, fileLock2.position());