Dumplie\CustomerService\Tests\Integration\Application\Doctrine\OrderTest::setUp PHP Method

setUp() public method

public setUp ( )
    function setUp()
    {
        $emBuilder = $this->entityManagerBuilder();
        $this->registerCustomerServiceMapping($emBuilder);
        $this->entityManager = $emBuilder->build();
        $this->createSchema($this->entityManager);
        $this->customerServiceContext = new ORMCustomerServiceContext($this->entityManager, new InMemoryEventLog(), new TacticianFactory());
    }