function testClear() { $stack = new LinkedStack(); $stack->push(1); $stack->clear(); $this->assertCount(0, $stack); }