public function testGetKey() { $phrase = new Phrase('phrase', 'translation', 'context_type', 'context_value1'); $this->assertEquals('phrase::context_type', $phrase->getKey()); }