mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-15 14:19:29 +00:00
e6a06915cd
Codestyle fixes Setup CODEOWNERS Setup dependabot
26 lines
602 B
C#
26 lines
602 B
C#
using FluentAssertions;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using System.Configuration;
|
|
|
|
namespace SystemExtensions.DependencyInjection.Tests.Configuration;
|
|
|
|
[TestClass]
|
|
public class DefaultOptionsManagerTests
|
|
{
|
|
private readonly DefaultOptionsManager optionsManager = new();
|
|
|
|
[TestMethod]
|
|
public void GetOptions_ReturnsDefault()
|
|
{
|
|
var options = this.optionsManager.GetOptions<string>();
|
|
|
|
options.Should().BeNull();
|
|
}
|
|
|
|
[TestMethod]
|
|
public void UpdateOptions_Succeeds()
|
|
{
|
|
this.optionsManager.UpdateOptions(string.Empty);
|
|
}
|
|
}
|