/** * @covers \Packfire\Session\Session::bucket */ public function testBucket2() { $this->stub->expects($this->once())->method('bucket')->with($this->equalTo('test'))->will($this->returnValue(true)); $this->assertTrue($this->object->bucket('test')); }