public function testOpen() {
$this->mock
->expects($this
->once())
->method('open')
->will($this
->returnValue(true));
$this
->assertFalse($this->proxy
->isActive());
$this->proxy
->open('name', 'id');
$this
->assertTrue($this->proxy
->isActive());
}