public void CreateFails(object value) { Assert.IsFalse(SpatialProxyFactory.TryCreate(value, out GeographyProxy proxy)); Assert.IsNull(proxy); }
public void CanCreate(Type type, bool expected) => Assert.AreEqual(expected, SpatialProxyFactory.CanCreate(type));
public void CreateNull() { Assert.IsFalse(SpatialProxyFactory.TryCreate(null, out GeographyProxy proxy)); Assert.IsNull(proxy); }
public void IsSupportedPoint(Type type, bool expected) => Assert.AreEqual(expected, SpatialProxyFactory.IsSupportedPoint(type));