public function testReadingGroupWithProperty()
 {
     $xml = '
         <config>
             <group title="Test Group">
                 <property name="testProperty1">Enter value</property>
             </group>
         </config>
     ';
     $this->reader->fromString($xml);
     $this->reader->read();
     $this->assertEquals('config', $this->reader->getElementName(), 'Element config expected.');
     $this->reader->read();
     $this->assertTrue($this->reader->isGroup(), 'Element is expected to be a group.');
     $this->assertEquals('Test Group', $this->reader->getAttribute('title'), 'Title is wrong.');
     $this->reader->read();
     $this->assertTrue($this->reader->isProperty(), 'Element is expected to be a property.');
     $this->assertEquals('testProperty1', $this->reader->getAttribute('name'));
     $this->assertEquals('Enter value', $this->reader->getElementValue());
     $this->assertFalse($this->reader->read());
 }