/** * Tests that getting and setting the types variable works properly * * @return void */ public function testGetSetTypes() { $testTypes = array('foo', 'bar'); $types = $this->object->getTypes(); $this->assertEquals(array(), $types); $this->object->setTypes($testTypes); $types = $this->object->getTypes(); $this->assertEquals($testTypes, $types); }