public void ConstructorSetcorrectyImage() { var actualInstance = new UpdateVenueEventArgs(1, latitude, longitude, name, phone, webAddress, address, city, image); Assert.AreEqual(image, actualInstance.Image); }
public void ConstructorCreate_NewInstance() { var actualInstance = new UpdateVenueEventArgs(1, latitude, longitude, name, phone, webAddress, address, city, image); Assert.That(actualInstance, Is.Not.Null); }
public void ConstructorCreateCorectly_NewInstanceOfSameType() { var actualInstance = new UpdateVenueEventArgs(1, latitude, longitude, name, phone, webAddress, address, city, image); Assert.IsInstanceOf(typeof(BasicEventArgs), actualInstance); }
private void View_UpdateVenueDetails(object sender, UpdateVenueEventArgs e) { this.service.UpdateVenue(e.Id.ToString(), e.Latitude, e.Latitude, e.Name, e.Phone, e.WebAddress, e.Address, e.City, e.Image); }