public static TestConfigurationBuilder RemoveDebugEmailModule(
     this TestConfigurationBuilder builder)
 {
     return(builder
            .RemoveByValue("IdentityBase.Public.DebugEmailModule, IdentityBase.Public")
            .ReorderModules());
 }
        /// <summary>
        /// Removes configuration for IdentityBase.DebugEmailModule
        /// </summary>
        /// <param name="builder">Instance of
        /// <see cref="TestConfigurationBuilder"/>.</param>
        /// <returns>Instance of
        /// <see cref="TestConfigurationBuilder"/>.</returns>
        public static TestConfigurationBuilder RemoveDebugEmailModule(
            this TestConfigurationBuilder builder)
        {
            // string typeName = typeof(DebugEmailModule).GetTypeInfo().Assembly.FullName;
            // TODO: get name space programmatically

            return(builder
                   .RemoveByValue("IdentityBase.DebugEmailModule, IdentityBase.Shared")
                   .ReorderModules());
        }