public void ShouldGetAllItemByKey() { var myHashTable = new MyHashTable(allocatedSizeOfTable); int hashCode = Hash.GenerateHash("a", allocatedSizeOfTable); myHashTable.Set("a", "a"); myHashTable.Set("a", "a2"); List <string> result = myHashTable.GetAll("a"); Assert.IsTrue(result.Count == 2); Assert.IsTrue(result[0] == "a"); Assert.IsTrue(result[1] == "a2"); }