public void GetRandomString2_CorrectParams_ReturnRandomString(int expectedLength) { var randomString = generator.String2(expectedLength); randomString.Should().HaveLength(expectedLength); }