public void ItemsEngine_InsertItem_ExpectNullException()
        {
            //Arrange: Seeds the Mocked Accessor's list of Items
            SeedItems();


            //Act: Insert a null Item using the ItemsEngine InsertItem() method
            itemsEngine.InsertItem(null);


            //Assert: Handled by the Expected Exception attribute
        }
Esempio n. 2
0
 public void PostItem(Item item)
 {
     _itemsEngine.InsertItem(item);
 }