Package org.openengsb.core.test

Examples of org.openengsb.core.test.NullDomainImpl


        assertThat(accessControl.checkAccess("testuser", invocation), Matchers.is(Access.GRANTED));
    }

    @Test
    public void testCheckMethodPublicAccess_shouldGrant() throws Exception {
        NullDomainImpl nullDomainImpl = new NullDomainImpl("foo");
        MethodInvocation invocation = MethodInvocationUtils.create(nullDomainImpl, "getInstanceId");

        assertThat(accessControl.checkAccess("testuser", invocation), Matchers.is(Access.GRANTED));
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.test.NullDomainImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.