public async Task CreateReturnIdAsync() { // Arrange var stubLogger = new Mock <ILogger <ValuesController> >(); var controller = new ValuesController(stubLogger.Object); // Act var result = await controller.CreateGapAsync(new CreateGapSensorDto() { Id = 10 }); // Assert Assert.NotNull(result); }