package org.pih.warehouse.core

import org.junit.Ignore
import org.junit.Test
import org.pih.warehouse.core.Role

@Ignore
class RoleIntegrationTests extends GroovyTestCase {

    @Override
    public void setUp() throws Exception {
        super.setUp();
    }

    @Override
    public void tearDown() throws Exception {
        super.tearDown();
    }

    @Test
    void test_getAdmin() {
        assert Role.admin().roleType == RoleType.ROLE_ADMIN
    }

    @Test
    void test_getManager() {
        assert Role.manager().roleType == RoleType.ROLE_MANAGER
    }

    @Test
    void test_getAssistant() {
        assert Role.assistant().roleType == RoleType.ROLE_ASSISTANT
    }

    @Test
    void test_getBrowser() {
        assert Role.browser().roleType == RoleType.ROLE_BROWSER
    }

}
