Example #1
0
 public function testGetAttributes()
 {
     $resultValue = 'test';
     $this->resource->expects($this->any())->method('loadAllAttributes')->will($this->returnSelf());
     $this->resource->expects($this->any())->method('getSortedAttributes')->will($this->returnValue($resultValue));
     $this->assertEquals($resultValue, $this->address->getAttributes());
 }