LsOutputBean build() { return new LsOutputBean( isFile, isDir, isLink, userReadable, userWritable, userExecutable, groupReadable, groupWritable, groupExecutable, otherReadable, otherWritable, otherExecutable, hasAcl, linkCount, size, date, user, group, name, linkTarget ); } }
name = file; bean = new LsOutputBean(name); return createFile(bean, file);
@Test public void notExists() { LsOutputBean bean = new LsOutputBean("name"); Assert.assertFalse(bean.isExists()); }