public void DeleteItemById_ItemDoesNotExist_Throws() { MyRepositoryId id = new MyRepositoryId(); Assert.Throws <ArgumentOutOfRangeException>(() => DataMapperUnderTest.DeleteItem(id)); }
public void GetItem_IdNotInRepository_Throws() { MyRepositoryId id = new MyRepositoryId(); Assert.Throws <ArgumentOutOfRangeException>(() => DataMapperUnderTest.GetItem(id)); }