public void isFullTest() { PhysicalMemory m = new PhysicalMemory(10); for (int i = 0; i < m.Capacity; i++) { m.AddPage(new MemoryPage(0, 0, "Unit Test", -1), i); } Assert.IsTrue(m.isFull()); }