public static mockBd2Engine SetupForPowerTests() { var bot = new MockBotFactory().CreateBasicMockBot().WithEquipmentCallback(ab => { ab.InstallEquipment(KnownEquipmentIds.MOCKPOWERPACK, "PP", MountPoint.Internal); }).ToBot(); var tef = new TestEngineFactory().WithDefaultWorld().WithBot(bot).WithBotSupport().WithEquipmentSupport(); var sut = tef.ToMockEngine(); sut.RegisterForMessages(); PowerPackEquipmentItem ppi = (PowerPackEquipmentItem)tef.EngineSuppliedEquipmentSupport.GetEquipmentTypeById(KnownEquipmentIds.MOCKPOWERPACK); sut.StartBattle(); return sut; }