public void AddGetRemoveTest() { var customOptions = new TypeConverterOptions { Formats = new string[] { "custom" }, }; var typeConverterOptionsFactory = new TypeConverterOptionsFactory(); typeConverterOptionsFactory.AddOptions <string>(customOptions); var options = typeConverterOptionsFactory.GetOptions <string>(); Assert.AreEqual(customOptions.Formats, options.Formats); typeConverterOptionsFactory.RemoveOptions <string>(); options = typeConverterOptionsFactory.GetOptions <string>(); Assert.AreNotEqual(customOptions.Formats, options.Formats); }