public void BlobBasicMethod_Execute_ShouldReteurnStringValues() { // Arrange BaseMethodTest bmt = new BaseMethodTest(); const int numberToReturn = 2; int size = bmt.Random.Next(1, 10) * 8; // Act var target = new BlobBasicMethod(bmt.AdvisoryDelayHandler, bmt.Service); IEnumerable<string> actual = target.GenerateBlobs(numberToReturn, size); // Assert TestResults(actual, numberToReturn); }
public void BlobBasicMethod_Execute_ShouldReteurnStringValues() { // Arrange const int numberToReturn = 2; int size = _random.Next(1, 10) * 8; //RandomOrgApiEmulator service = new RandomOrgApiEmulator(); // Act var target = new BlobBasicMethod(_advisoryDelayHandler); IEnumerable<string> actual = target.GenerateBlobs(numberToReturn, size); // Assert TestResults(actual, numberToReturn); }