@Test void testGetPermissionStringValueLabelledPermissionNull() { LabelledPermission labelledPermission = mock(LabelledPermission.class); assertEquals(Optional.empty(), PermissionSetUtils.getPermissionStringValue(labelledPermission)); }
public static Optional<String> getPermissionStringValue(LabelledPermission labelledPermission) { PermissionSet permissionSet = labelledPermission.getPermission(); String permissionStringValue = getPermissionStringValue(permissionSet); return Optional.ofNullable(permissionStringValue); }
PermissionSetUtils { public static Optional<String> getPermissionStringValue(LabelledPermission labelledPermission) { PermissionSet permissionSet = labelledPermission.getPermission(); String permissionStringValue = getPermissionStringValue(permissionSet); return Optional.ofNullable(permissionStringValue); } }
PermissionSetUtils { public static Optional<String> getPermissionStringValue(LabelledPermission labelledPermission) { PermissionSet permissionSet = labelledPermission.getPermission(); String permissionStringValue = getPermissionStringValue(permissionSet); return Optional.ofNullable(permissionStringValue); } private  PermissionSetUtils(); }
PermissionSetUtils { public static Optional<String> getPermissionStringValue(LabelledPermission labelledPermission) { PermissionSet permissionSet = labelledPermission.getPermission(); String permissionStringValue = getPermissionStringValue(permissionSet); return Optional.ofNullable(permissionStringValue); } private  PermissionSetUtils(); static PermissionSet getPermissionSet(AccessControlEntry accessControlEntry); static PermissionSet paramValueToPermissionSet(String paramValue); static Optional<String> getPermissionStringValue(LabelledPermission labelledPermission); static String getPermissionStringValue(PermissionSet permissionSet); }
PermissionSetUtils { public static Optional<String> getPermissionStringValue(LabelledPermission labelledPermission) { PermissionSet permissionSet = labelledPermission.getPermission(); String permissionStringValue = getPermissionStringValue(permissionSet); return Optional.ofNullable(permissionStringValue); } private  PermissionSetUtils(); static PermissionSet getPermissionSet(AccessControlEntry accessControlEntry); static PermissionSet paramValueToPermissionSet(String paramValue); static Optional<String> getPermissionStringValue(LabelledPermission labelledPermission); static String getPermissionStringValue(PermissionSet permissionSet); static final String READMETA; static final String COUNT; static final String READ; static final String WRITE; static final String WRITEMETA; static final String UNEXPECTED_MASK_MESSAGE; }