You can try something like this:
Assert.AreEqual(collection.Items.Single(), expected_item);
Single will return the only item in the collection or throw an exception if it does not contain exactly 1 item.
I am not familiar with NUnit, so someone can suggest a better solution that uses the NUnit function ...
EDIT: after a quick search, the only NUnit function that seems to be approaching is Is.EquivalentTo(IEnumerable) :
Assert.That(collection.Items, Is.EquivalentTo(new List<object>() {expected_item}));
IMO the first option reads me better, but the latter may give a better exception message depending on your preference.
Bubblewrap
source share