public void ProteinCollection_Contains_ReturnsFalseWhenTheCollectionIsEmpty() { // Arrange var collection = new ProteinCollection(); // Act bool result = collection.Contains(1); // Assert Assert.IsFalse(result); }
public void ProteinCollection_Contains_ReturnsTrueWhenTheKeyExists() { // Arrange var collection = new ProteinCollection { CreateValidProtein(1) }; // Act bool result = collection.Contains(1); // Assert Assert.IsTrue(result); }