public void AddressEquals_ShouldReturnFalse_ObjectIsNull() { var addressFake1 = AddressFake(cep: "12345-123", streetAddress: "Any street", city: "Toxixity", uf: "ANY"); Model.Address addressFake2 = null; var response = addressFake1.Equals(addressFake2); response.Should().BeFalse(); }
public void TestInitialize() { _address = AddressFake(); }
public Model.GasStation GasStationFake(string id = null, string externalId = null, string name = null, string phoneNumber = null, string siteUrl = null, Model.Address address = null) { var addressFake = address ?? AddressFake(); return(Builder <Model.GasStation> .CreateNew() .With(x => x.Id, id ?? "some id") .With(x => x.ExternalId, externalId ?? "any external id") .With(x => x.Name, name ?? "Any Name") .With(x => x.PhoneNumber, phoneNumber ?? "0987654321") .With(x => x.SiteUrl, siteUrl ?? "*****@*****.**") .With(x => x.Address, addressFake) .Build()); }