public void ConvertAddressEntity_WhenValidEntity_ReturnViewModel() { var converter = new AddressConverter(); var viewModel = new Address { Street = "Washington Street", ZipCode = "61-422", Number = 25, Id = 1, ApartmentNumber = 22 }; var entity = new AddressViewModel(); converter.ConvertEntityToViewModel(viewModel, entity); Assert.AreEqual(entity.Street, viewModel.Street); }