public function setUp()
{
$this->vieSchemaBuilder = $this->getAccessibleMock(VieSchemaBuilder::class, array('dummy'));
$mockConfigurationManager = $this->getMockBuilder(ConfigurationManager::class)->disableOriginalConstructor()->getMock();
$mockConfigurationManager->expects($this->any())->method('getConfiguration')->with('NodeTypes')->will($this->returnValue($this->nodeTypesFixture));
$this->nodeTypeManager = $this->getAccessibleMock(NodeTypeManager::class, array('dummy'));
$this->nodeTypeManager->_set('configurationManager', $mockConfigurationManager);
$mockCache = $this->getMockBuilder(StringFrontend::class)->disableOriginalConstructor()->getMock();
$mockCache->expects($this->any())->method('get')->willReturn(null);
$this->nodeTypeManager->_set('fullConfigurationCache', $mockCache);
$this->vieSchemaBuilder->_set('nodeTypeManager', $this->nodeTypeManager);
}