InterNations\Component\HttpMock\Tests\MockBuilderIntegrationTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->matches = new MatcherFactory();
        $this->builder = new MockBuilder($this->matches, new ExtractorFactory());
        $this->server = new Server(HTTP_MOCK_PORT, HTTP_MOCK_HOST);
        $this->server->start();
        $this->server->clean();
    }