public function testGetAttributeNames() { $expectedResult = ['fixture_attribute_one', 'fixture_attribute_two']; $this->_dataStorage->expects($this->once())->method('get')->with('some_group')->will($this->returnValue($expectedResult)); $this->assertSame($expectedResult, $this->_model->getAttributeNames('some_group')); }