public async Task ReturnFalseIfGetMyAppsFails() { // Arrange // Act var result = await sutAppRepoFailure.GetMyApps(1, new Paginator()); // Assert Assert.That(result.Success, Is.False); Assert.That(result.Message, Is.EqualTo("Apps not Found")); }
public async Task GetMyApps() { // Arrange // Act var result = await sut.GetMyApps(1, new Paginator()); // Assert Assert.That(result.Success, Is.True); Assert.That(result.Message, Is.EqualTo("Apps Found")); Assert.That(result.Apps.Count, Is.EqualTo(2)); }