//create a new permission instance
SimpleACLPermission permission2 = new SimpleACLPermission(mockSecurityManager);
//read the acl in
permission2.read(new VariableByteInputStream(new ByteArrayInputStream(data)));
assertEquals(2, permission2.getACECount());
assertEquals(ACE_ACCESS_TYPE.ALLOWED, permission2.getACEAccessType(0));
assertEquals(userId1, permission2.getACEId(0));