internal void FromString(IntegerConverters sut, IFixture fixture) { // arrange var expected = fixture.Create <int>(); var doubleString = expected.ToString(CultureInfo.InvariantCulture); // act var actual = sut.Convert(doubleString, CultureInfo.InvariantCulture); // assert Assert.Equal(expected, actual); }
internal void FromStringArray(IntegerConverters sut) { Assert.Throws <NotSupportedException>(() => sut.Convert(true, CultureInfo.InvariantCulture)); }