public void CanInteractWithRom() { // Arrange var romMock = new Mock <IRtdxRom>(); romMock.Setup(r => r.GetStarters()).Returns(new SimpleStarterCollection { Starters = new SimpleStarterModel[] { new SimpleStarterModel { PokemonId = CreatureIndex.RIORU, PokemonName = "Riolu" }, new SimpleStarterModel { PokemonId = CreatureIndex.MYUU, PokemonName = "Mew" }, } }); var context = new ScriptHost <IRtdxRom>(romMock.Object); var script = File.ReadAllText("TestData/Scripts/Lua/RomInteractionTest.lua"); // Act context.ExecuteLua(script); // Assert context.LuaState["passed"].Should().NotBeNull(); context.LuaState["passed"].Should().Be(true); }