| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2015 ForgeRock AS. |
| | | */ |
| | | package org.forgerock.opendj.config.server; |
| | | |
| | |
| | | @Test |
| | | public void createWithSingletonRelationDefinition() throws Exception { |
| | | SingletonRelationDefinition.Builder<TestChildCfgClient, TestChildCfg> builder = |
| | | new SingletonRelationDefinition.Builder<TestChildCfgClient, TestChildCfg>( |
| | | new SingletonRelationDefinition.Builder<>( |
| | | TestParentCfgDefn.getInstance(), "singleton-test-child", TestChildCfgDefn.getInstance()); |
| | | final SingletonRelationDefinition<TestChildCfgClient, TestChildCfg> relationDef = builder.getInstance(); |
| | | |