owml/tests/OWML.ModLoader.Tests/ModLoaderTests.cs
AmazingAlek 8e576ab2e5
C# 9.0 (#321)
* New "SDK style" projects
* C# 9.0
* .Net Framework 4.7.2 -> 4.8
* Sexy C# 8/9 code
* Fixed OWML Nuget package
2020-12-20 11:13:11 +01:00

27 lines
523 B
C#

using OWML.Tests.Setup;
using Xunit;
using Xunit.Abstractions;
namespace OWML.ModLoader.Tests
{
public class ModLoaderTests : OWMLTests
{
public ModLoaderTests(ITestOutputHelper outputHelper)
: base(outputHelper)
{
}
[Fact]
public void ModLoader_LoadMods()
{
var container = ModLoader.CreateContainer(AppHelper.Object, GOHelper.Object);
container.Add(Console.Object);
container.Add(Logger.Object);
container.Add(Config);
var owo = container.Resolve<Owo>();
owo.LoadMods();
}
}
}