/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ protected function setUp() { $this->testable = new TestObj(); $this->testable->test = "testing"; $this->testable->setProtected("protectedValue"); $this->testable->setPrivate("privateValue"); $this->testable->setPrivWithoutGetter("noGetter"); $this->object = new Accessor($this->testable); }