public async Task ActivateApps() { // Arrange // Act var result = await sut.ActivateApp(1); var app = context.Apps.FirstOrDefault(a => a.Id == 1); // Assert Assert.That(result.Success, Is.True); Assert.That(result.Message, Is.EqualTo("App Activated")); Assert.That(app.IsActive, Is.True); }