/** * Test getter/setter for allowedExtensions property */ public function testGetSetAllowedExtensions() { $this->assertEmpty($this->attribute->getAllowedExtensions()); // Change value and assert new $extensions = array('jpg', 'png', 'gif'); $this->assertEntity($this->attribute->setAllowedExtensions(' jpg, png,gif')); $this->assertEquals($extensions, $this->attribute->getAllowedExtensions()); }