public void ShouldGetVariableName() { var property = new EntityProperty { Name = "Foo", Type = "System.Int64" }; Assert.AreEqual("foo", property.VariableName); }
public void ShouldGetLongTypeName() { var property = new EntityProperty { Name = "Foo", Type = "System.Int64" }; Assert.AreEqual("long", property.TypeName); }
public void ShouldGetStringTypeName() { var property = new EntityProperty { Name = "Foo", Type = "System.String" }; Assert.AreEqual("string", property.TypeName); }
public void ShouldCreateEntityProperty() { var property = new EntityProperty{Name ="Foo", Type = "System.String"}; Assert.AreEqual("Foo", property.Name); Assert.AreEqual("System.String", property.Type); }