@Test public void testUserPermissions() { assertEquals(userPerm.getApplicationName(), applicationName); assertEquals(userPerm.getPermissions(), permissions); assertTrue(userPerm.toString().contains(applicationName.toString())); assertTrue(userPerm.toString().contains(permissions.toString())); }
protected UserPermissions() { super(); }
UserPermissions { protected UserPermissions() { super(); } }
UserPermissions { protected UserPermissions() { super(); } protected  UserPermissions(); }
UserPermissions { protected UserPermissions() { super(); } protected  UserPermissions(); Application.Name getApplicationName(); void setApplicationName(Application.Name applicationName); List<Permission> getPermissions(); void setPermissions(List<Permission> permissions); static Builder newInstance(Application.Name applicationName, List<Permission> permissions); static Builder from(UserPermissions userPermissions); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
UserPermissions { protected UserPermissions() { super(); } protected  UserPermissions(); Application.Name getApplicationName(); void setApplicationName(Application.Name applicationName); List<Permission> getPermissions(); void setPermissions(List<Permission> permissions); static Builder newInstance(Application.Name applicationName, List<Permission> permissions); static Builder from(UserPermissions userPermissions); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }