    @Test
    public void testIsAuthor() {

        UserAccount normalUser = new UserAccount();
        assertFalse(normalUser.isAuthor());
        
        UserRoleType[] roles = new UserRoleType[]{UserRoleType.ROLE_USER, UserRoleType.ROLE_AUTHOR};
        UserAccount author = new UserAccount("1234", roles);
        assertTrue(author.isAuthor());
    }