public function testBind() { $this->object->bind(array('public' => 'model1', 'protected' => 'model2')); $this->assertThat($this->object->getPublic(), $this->equalTo('model1_by_accessor')); $this->assertThat($this->object->getProtected(), $this->equalTo('model2')); }