using apiLOL; using apiLOL.Controllers; using Microsoft.AspNetCore.Mvc; using StubLib; namespace TestUnitaireAPiLol { public class UnitTest1 { [Fact] public void Test1() { } [Fact] public void TestPostChampion() { // Arrange var controller = new ControllerChampions(new StubData()); var champDTO = new ChampionDTO("Charle", "Charle est un champion de League of Legends"); // Act var result = controller.Post(champDTO); // Assert Assert.IsType(result); } } }