public function testPublishNewType()
{
$handler = $this->getUpdateHandler();
$gatewayMock = $this->getGatewayMock();
$updaterMock = $this->getContentUpdaterMock();
$gatewayMock->expects($this->once())->method('publishTypeAndFields')->with($this->equalTo(23), $this->equalTo(1), $this->equalTo(0));
$types = $this->getTypeFixtures();
$handler->publishNewType($types['to'], 0);
}