public void GivenExtendedDatabase_WhenFindWithNegativeId_ThenThrowsException() { //Arrange var id = -1; var database = new ExtendedDatabase(); //Act //Assert Assert.Throws <ArgumentOutOfRangeException>(() => database.Find(id)); }
public void GivenExtendedDatabase_WhenFindWithNegativeId_ThenThrowsException() { //Arrange var id = -1; var database = new ExtendedDatabase(); //Act //Assert Assert.Throws <ArgumentOutOfRangeException>(() => database.Find(id)); }