public function testShouldGetRawConnection()
{
// Arrange
$mongoClient = new Client();
$container = m::mock(Container::class)->makePartial();
Ioc::setContainer($container);
// Act
$container->shouldReceive('make')->once()->with(Client::class, m::any())->andReturn($mongoClient);
// Assert
$connection = new Connection();
$this->assertEquals($mongoClient, $connection->getRawConnection());
}