public function testLoadDefaultVersion()
{
$gatewayMock = $this->getGatewayMock();
$gatewayMock->expects($this->once())->method('loadTypeData')->with($this->equalTo(23), $this->equalTo(0))->will($this->returnValue(array()));
$mapperMock = $this->getMapperMock();
$mapperMock->expects($this->once())->method('extractTypesFromRows')->will($this->returnValue(array(new Type())));
$handler = $this->getHandler();
$type = $handler->load(23);
$this->assertEquals(new Type(), $type, 'Type not loaded correctly');
}