FileAccessService { public boolean isUserCanShare(String userId, File file) { if (isOwner(userId, file)) return true; return false; }  boolean isUserHasNotAccess(String userId, File file); boolean isUserCanNotDelete(String userId, File file); boolean isUserCanNotShare(String userId, File file); boolean isUserHasAccess(String userId, File file); boolean isUserCanDelete(String userId, File file); boolean isUserCanShare(String userId, File file); boolean isOwner(String userId, File file); boolean isUserHasAtLeastGivenPermission(String userId, File file, Permission... permissions);  }
@Test public void testIsUserCanShare() throws Exception { }