| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 23 | public function build() | ||
| 24 |     { | ||
| 25 | $this->iterateFixture(); | ||
| 26 | |||
| 27 | $this->_throwUndefinedAttributesException(isset($this->_data['fixture']['api_role']['model']), | ||
| 28 | 'Api Role model has not been defined. Check fixture yml.'); | ||
| 29 | $roleId = $this->_buildApiRoleFixture(); | ||
| 30 | |||
| 31 | $fixtureId = ApiUserHelper::create($this->_getMageModel(), $roleId, $this->_data['fixture']['attributes']); | ||
| 32 | |||
| 33 | return $fixtureId; | ||
| 34 | } | ||
| 35 | |||
| 48 | } |