public void ConvertTo_NonGeneric_OnSuccess_ReturnsCorrectValue() => Assert.AreEqual(IntValue, FromString.ConvertTo(typeof(int), StringValue));
public void ConvertTo_NonGeneric_OnNonConvertibleType_ThrowsStringConversionException() => Assert.Throws <StringConversionException>(() => FromString.ConvertTo(typeof(Action), SomeString));
public void ConvertTo_NonGeneric_OnInvalidString_ThrowsStringConversionException() => Assert.Throws <StringConversionException>(() => FromString.ConvertTo(typeof(int), SomeString));
public void ConvertTo_ArrayGeneric_OnSuccess_ReturnsCorrectValues() => CollectionAssert.AreEqual(ValidIntValues, FromString.ConvertTo <int>(ValidStringValues));
public void ConvertTo_NonGeneric_OnNullType_ThrowsArgumentNullException() => Assert.Throws <ArgumentNullException>(() => FromString.ConvertTo(null, SomeString));
public void ConvertTo_ArrayGeneric_OnInvalidStrings_ThrowsStringConversionException() => Assert.Throws <StringConversionException>(() => FromString.ConvertTo <int>(InvalidStringValues));
public void ConvertTo_ArrayGeneric_OnNullStrings_ReturnsNull() => Assert.IsNull(FromString.ConvertTo <int>((string[])null));
public void ConvertTo_ArrayNonGeneric_OnSuccess_ReturnsCorrectValues() => CollectionAssert.AreEqual(ValidIntValues, (int[])FromString.ConvertTo(typeof(int), ValidStringValues));
public void ConvertTo_ArrayGeneric_OnNonConvertibleType_ThrowsStringConversionException() => Assert.Throws <StringConversionException>(() => FromString.ConvertTo <Action>(ValidStringValues));
public void ConvertTo_ArrayNonGeneric_OnNullStrings_ReturnsNull() => Assert.IsNull(FromString.ConvertTo(typeof(int), (string[])null));
public void ConvertTo_ArrayNonGeneric_OnInvalidStrings_ThrowsStringConversionException() => Assert.Throws <StringConversionException>(() => FromString.ConvertTo(typeof(int), InvalidStringValues));
public void ConvertTo_ArrayNonGeneric_OnNullType_ThrowsArgumentNullException() => Assert.Throws <ArgumentNullException>(() => FromString.ConvertTo(null, ValidStringValues));
public void ConvertTo_Generic_OnSuccess_ReturnsCorrectValue() => Assert.AreEqual(IntValue, FromString.ConvertTo <int>(StringValue));
public void ConvertTo_Generic_OnInvalidString_ThrowsStringConversionException() => Assert.Throws <StringConversionException>(() => FromString.ConvertTo <int>(SomeString));