using GameHandler.Exceptions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GameHandler.Extensions; namespace GameHandler.UnitTests.Extensions { [TestFixture] internal class GameServiceExtensionTests { [Test] public void GetGameHandler_ThrowsExceptionWhenGamenameIsNotValid() { var gs = new GameService(null); Assert.That(() => gs.GetGameHandler("unknown"), Throws.TypeOf()); } } }