public async Task UuidBasicMethod_ExecuteAsync_ShouldReturnGuidValues() { int numberToReturn = 2; var target = new UuidBasicMethod(_advisoryDelayHandler); IEnumerable<Guid> results = await target.GenerateUuidsAsync(numberToReturn); results.Should().Not.Be.Null(); results.Count().Should().Equal(numberToReturn); }
public async Task UuidBasicMethod_ExecuteAsync_ShouldReturnGuidValues() { // Arrange BaseMethodTest bmt = new BaseMethodTest(); int numberToReturn = 2; // Act var target = new UuidBasicMethod(bmt.AdvisoryDelayHandler, bmt.Service); IEnumerable<Guid> results = await target.GenerateUuidsAsync(numberToReturn); // Assert results.Should().Not.Be.Null(); results.Count().Should().Equal(numberToReturn); }