public function testSetMethodCanBeCalledOnAList() { $testCase = new TestsCases\BaseTestCase(); $testCase->addListItem("a"); $testCase->setListItems(array("b")); $this->assertEquals("b", $testCase->getListItems()[0]); }
public function testInitializedArraysDifferAtEachInitialization() { $testCase = new TestsCases\BaseTestCase(); $testCase->addListItem("foo"); $testCase2 = new TestsCases\BaseTestCase(); $this->assertEquals(0, count($testCase2->getListItems())); }