public async Task GetAsync_WillReturnNull_WhenNotExists(int iteration) { // Arrange sut = new MoamrathRepository(_db); // Act Moamrath result = await sut.GetAsync(Guid.NewGuid()); // Assert Assert.Null(result); }
public async Task GetAsync_WillReturnTheCorrectValue_WhenExists(string id) { // Arrange sut = new MoamrathRepository(_db); // Act Moamrath result = await sut.GetAsync(Guid.Parse(id)); // Assert Assert.NotNull(result); Assert.Equal(Guid.Parse(id), result.Id); }