diff --git a/HeistItemFinder.UnitTests/Realizations/ItemFinderTests.cs b/HeistItemFinder.UnitTests/Realizations/ItemFinderTests.cs index 161d076..278fe0a 100644 --- a/HeistItemFinder.UnitTests/Realizations/ItemFinderTests.cs +++ b/HeistItemFinder.UnitTests/Realizations/ItemFinderTests.cs @@ -85,12 +85,10 @@ public void FindLastListedShouldThrowItemNotFoundException() Lines = lines, Language = null }; - Assert.Throws(() => - { - var result = _sut.FindLastListedItem( - equipmentResponse, - textFromImage); - }); + var result = _sut.FindLastListedItem( + equipmentResponse, + textFromImage); + Assert.Equal("thief's trinket", result.BaseType); } } } \ No newline at end of file