public void Delete_IdIsLessThan1_ThrowsException() { //arrange const int propertyId = 0; //act + assert Assert.That(() => _propertyService.Delete(propertyId), Throws.ArgumentException.With.Message.EqualTo("id")); }