/**
* @expectedException InvalidArgumentException
*/
public function testSetMongoShouldThrowExceptionForInvalidArgument()
{
$mongoDB = $this->getMockBuilder('MongoDB')->disableOriginalConstructor()->getMock();
$conn = new Connection();
$conn->setMongo($mongoDB);
}