public void MapToContract_AddressEmpty_AddressIsNull() { var contact = new Contact { send_invoices_to_email = "*****@*****.**", customer_id = "abc", lastname = "lastname" }; var mapped = _mapper.MapToContract(contact); mapped.Address.Should().Be(null); }