public void Add_NewItemEmptyDatabase_OneIsReturned() { _database.Setup(x => x.AddItem("xyz")).Returns(1); var id = _refrigerator.AddItem("xyz"); Assert.AreEqual(id, 1); }
public void Add_NewItemEmptyDatabase_OneIsReturned() { var id = _refrigerator.AddItem("xyz"); Assert.AreEqual(id, 1); }