| | |
| | | |
| | | import static org.assertj.core.api.Assertions.*; |
| | | import static org.mockito.Mockito.*; |
| | | import static org.opends.server.ConfigurationMock.*; |
| | | import static org.forgerock.opendj.config.ConfigurationMock.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | import static org.forgerock.opendj.ldap.ByteString.*; |
| | | |
| | |
| | | |
| | | protected PDBBackendCfg createBackendCfg() |
| | | { |
| | | PDBBackendCfg backendCfg = legacyMockCfg(PDBBackendCfg.class); |
| | | PDBBackendCfg backendCfg = mockCfg(PDBBackendCfg.class); |
| | | when(backendCfg.getBackendId()).thenReturn("PDBStorageTest"); |
| | | when(backendCfg.getDBDirectory()).thenReturn("PDBStorageTest"); |
| | | when(backendCfg.getDBDirectoryPermissions()).thenReturn("755"); |