public void CanConvertFrom_OtherType_ReturnFalse() { // Setup var converter = new ConfigurationDikeSoilScenarioTypeConverter(); // Call bool canConvertFrom = converter.CanConvertFrom(typeof(object)); // Assert Assert.IsFalse(canConvertFrom); }
public void CanConvertFrom_SupportedType_ReturnTrue(Type supportedType) { // Setup var converter = new ConfigurationDikeSoilScenarioTypeConverter(); // Call bool canConvertFrom = converter.CanConvertFrom(supportedType); // Assert Assert.IsTrue(canConvertFrom); }