public async Task GetReturnsContentNotNullAustin() { // Arrange var mockRepository = new Mock <IStatService>(); mockRepository.Setup(x => x.GetAustinStatAsync()) .ReturnsAsync(new AustinStatResult()); var controller = new StatsController(mockRepository.Object); // Act var response = await controller.AustinStatsRaw(); // Assert Assert.IsNotNull(response); }