mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
02.33.2014 e114a899bbc0df59f5135f195d24797bf6c1b778
opendj-sdk/opendj-admin/src/test/java/org/forgerock/opendj/config/ConfigurationMockTest.java
@@ -34,9 +34,6 @@
import org.forgerock.opendj.admin.server.GoverningStructureRuleVirtualAttributeCfg;
import org.forgerock.opendj.admin.server.LDAPConnectionHandlerCfg;
import org.forgerock.opendj.ldap.schema.Schema;
import org.opends.server.admin.AttributeTypePropertyDefinition;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
/**
@@ -45,16 +42,6 @@
@SuppressWarnings("javadoc")
public class ConfigurationMockTest extends ConfigTestCase {
    @BeforeClass
    void setup() {
        disableClassValidationForProperties();
    }
    @AfterClass
    void cleanup() {
        enableClassValidationForProperties();
    }
    @Test
    public void testPropertyWithStringReturnValue() {
        GoverningStructureRuleVirtualAttributeCfg mock = mockCfg(GoverningStructureRuleVirtualAttributeCfg.class);
@@ -76,7 +63,6 @@
    @Test
    public void testPropertyWithAttributeTypeReturnValue() throws Exception {
        AttributeTypePropertyDefinition.setCheckSchema(false); // attribute type is not in default schema
        CollectiveAttributeSubentriesVirtualAttributeCfg mock =
                mockCfg(CollectiveAttributeSubentriesVirtualAttributeCfg.class);
        assertThat(mock.getAttributeType()).isEqualTo(