private void ReplaceVanillaEscapeByCustomWaiting() { var mb = new MenuBroker(); var act = mb.GetWaitingMenu(); new MenuBroker().PlayAct(act); if (!string.IsNullOrEmpty(act.Image) || act.Image.ToUpper() != "NONE") { mb.SetBackgroundImage(act.Image); } }
public void Test1() { //Arrange new Stories().LoadStoriesFromDisk(); var sut = new MenuBroker(); //Act var actualResult = sut.GetWaitingMenu(); //Assert GameData.Instance.StoryContext.Stories.Count.Should().BeGreaterThan(0); actualResult.Id.Should().Contain("_"); }