</BUG>
Random random = new Random();
boolean recursive = random.nextBoolean();
byte[] bytes = new byte[5];
random.nextBytes(bytes);
<BUG>String owner = new String(bytes);
SetAclOptions options =
new SetAclOptions.Builder()
.setOwner(owner)
.setRecursive(recursive)
.build();</BUG>
Assert.assertEquals(owner, options.getOwner());

import org.junit.rules.ExpectedException;
public class SetAclOptionsTest {
@Rule
public ExpectedException mThrown = ExpectedException.none();
@Test
public void setFieldsTest() {
Random random = new Random();
boolean recursive = random.nextBoolean();
byte[] bytes = new byte[5];
random.nextBytes(bytes);
String owner = new String(bytes);
SetAclOptions options = SetAclOptions.defaults().setOwner(owner).setRecursive(recursive);
Assert.assertEquals(owner, options.getOwner());
