public void Yahoo_GeoPlanet_Locality_ShouldOverrideToString() { var model = new Locality { Name = "name" }; model.ShouldNotBeNull(); model.ToString().ShouldEqual(model.Name); }
public void Yahoo_GeoPlanet_Locality_ShouldBePublic() { var model = new Locality { Name = "name", Type = "type", }; model.ShouldNotBeNull(); model.Name.ShouldNotBeNull(); model.Type.ShouldNotBeNull(); }
public void Yahoo_GeoPlanet_Locality_ShouldBePublic() { var model = new Locality { Name = "name", Type = "type", }; model.ShouldNotBeNull(); model.Name.ShouldNotBeNull(); model.Type.ShouldNotBeNull(); }
public void Yahoo_GeoPlanet_Locality_ShouldOverrideToString() { var model = new Locality { Name = "name" }; model.ShouldNotBeNull(); model.ToString().ShouldEqual(model.Name); }