public void AddEntity() { // Setup var item = InitializeSequence()[0]; var set = new TestSet <TestEntity>(); // Execute set.Add(item); // Assert Assert.AreEqual(1, set.Count); Assert.AreSame(item, set.First()); }
public void AddEntity() { // Setup var item = InitializeSequence()[0]; var set = new TestSet<TestEntity>(); // Execute set.Add(item); // Assert Assert.AreEqual(1, set.Count); Assert.AreSame(item, set.First()); }