public void ShouldParseSpearMapInfo() { var mockProvider = new Mock <IResourceProvider>(); mockProvider .Setup(_ => _.Lookup("mapinfo/wolfcommon.txt")) .Returns(TestFile.MapInfo.wolfcommon); using var stream = TestFile.MapInfo.spear; var lookup = MapDeclarationReader.Read(stream, mockProvider.Object); }
public void ShouldParseWolfCommonMapInfo() { using var stream = TestFile.MapInfo.wolfcommon; var lookup = MapDeclarationReader.Read(stream, Mock.Of <IResourceProvider>()); }