public function testGetKey() { // Should return the key $definition = new Src\Definition(array('attribute' => 'attribute', 'key' => 'key', 'accessor' => 'accessor', 'mutator' => 'mutator')); $this->assert->string($definition->getKey())->isEqualTo('key'); }