public void Update(Priority item)
 {
     throw new NotSupportedException("Update is not supported in this repository");
 }
 public void Add(Priority item)
 {
     throw new NotSupportedException("Add is not supported in this repository");
 }
        public void GivenAPriority_WhenRemove_ThenRemoveFromContext()
        {
            var item = new Priority { Id = 1 };

            Target.ExpectException<NotSupportedException>(() => Target.Remove(item));
        }
        public void GivenAPriority_WhenUpdate_ThenContextSetsModified()
        {
            var expected = new Priority { Id = 1 };

            Target.ExpectException<NotSupportedException>(() => Target.Update(expected));
        }
        public void GivenAPriority_WhenAdd_ThenAddToContext()
        {
            var expected = new Priority { Id = 1 };

            Target.ExpectException<NotSupportedException>(() => Target.Add(expected));
        }