public function setUp()
{
$this->nodeConverter = new NodeConverter();
$this->mockContextFactory = $this->getMockBuilder(ContextFactoryInterface::class)->disableOriginalConstructor()->getMock();
$this->inject($this->nodeConverter, 'contextFactory', $this->mockContextFactory);
$this->mockPropertyMapper = $this->createMock(PropertyMapper::class);
$this->inject($this->nodeConverter, 'propertyMapper', $this->mockPropertyMapper);
$this->mockObjectManager = $this->createMock(ObjectManagerInterface::class);
$this->inject($this->nodeConverter, 'objectManager', $this->mockObjectManager);
$this->mockConverterConfiguration = $this->getMockBuilder(PropertyMappingConfigurationInterface::class)->disableOriginalConstructor()->getMock();
}