| | |
| | | /** |
| | | * Creates a default data configuration. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testGetDefaultDataConfiguration() { |
| | | final DataConfiguration data = new DataConfiguration(); |
| | | assertThat(data.getDirectoryBaseDN()).isEqualTo(DataConfiguration.DEFAULT_DIRECTORY_BASE_DN); |
| | |
| | | * |
| | | * @throws IOException |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testCustomDataConfiguration() throws IOException { |
| | | final DataConfiguration data = new DataConfiguration(); |
| | | final int userEntries = 300; |
| | |
| | | /** |
| | | * Tests the type of the data configuration to make sure the boolean types are correctly assigned. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDataConfigurationType() { |
| | | final DataConfiguration data = new DataConfiguration(); |
| | | assertTrue(data.isAutomaticallyImportGenerated()); |