public function testStateNamed() { $key = new Key('foo', ['path' => [['kind' => 'foo', 'id' => 1]]]); $this->assertEquals($key->state(), key::STATE_NAMED); }