public async Task PermitOwnerRequests() { // Arrange // Act var result = await sut.IsOwnerOfThisLicense(appId, license, userId); // Assert Assert.That(result, Is.True); }
public async Task DenyInvalidOwnerRequests() { // Arrange var invalidLicense = "5CDBFC8F-F304-4703-831B-750A7B7F8531"; // Act var result = await sutUserRepoFailure.IsOwnerOfThisLicense(appId, invalidLicense, userId); // Assert Assert.That(result, Is.False); }