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