@Test
void addRegistry() {

    RegistryConfig registry = new RegistryConfig();
    ModuleBuilder builder = new ModuleBuilder();
    builder.addRegistry(registry);
    Assertions.assertTrue(builder.build().getRegistries().contains(registry));
    Assertions.assertEquals(1, builder.build().getRegistries().size());
}