Dumplie\Customer\Tests\Integration\Application\Doctrine\CheckoutTest::setUp PHP Method

setUp() public method

public setUp ( )
    function setUp()
    {
        $emBuilder = $this->entityManagerBuilder();
        $this->registerCustomerMapping($emBuilder);
        $this->entityManager = $emBuilder->build();
        $this->createSchema($this->entityManager);
        $this->customerContext = new ORMCustomerContext($this->entityManager, new InMemoryEventLog(), new TacticianFactory());
        $this->transactionFactory = new ORMFactory($this->entityManager);
    }