public void ShouldProvideFormattedWithFormatterValueString(string format, CultureInfo cultureInfo) { // arrange var targetId = Faker.Random.Int(); var stronglyTypedId = new IntFor <Order>(targetId); // act var providedValue = stronglyTypedId.ToString(format, cultureInfo); // assert providedValue.Should().Be(targetId.ToString(format, cultureInfo)); }
public void ShouldProvideValueString() { // arrange var targetId = Faker.Random.Int(); var stronglyTypedId = new IntFor <Order>(targetId); // act var providedValue = stronglyTypedId.ToString(); // assert providedValue.Should().Be(targetId.ToString()); }