@Test
public void testOctalFileMode755() {

    Set<PosixFilePermission> perms = createPermissionSet(PosixFilePermission.OWNER_READ,
            PosixFilePermission.OWNER_WRITE, PosixFilePermission.OWNER_EXECUTE, PosixFilePermission.GROUP_READ,
            PosixFilePermission.GROUP_EXECUTE, PosixFilePermission.OTHERS_READ, PosixFilePermission.OTHERS_EXECUTE);
    Assert.assertEquals(0755, FilePermissionHelper.toOctalFileMode(perms));
}