public function testOneRelationships() { $node = new Relax_Client_Model('Root', $this->connection); $node->hasOne('Customer'); $this->assertEquals($node->relationships(), array('customer')); $this->assertEquals($node->relationship('customer')->type, 'one'); }