package org.mockserver.springtest;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockserver.client.MockServerClient;
import org.springframework.test.context.junit4.SpringRunner;

import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNot.not;
import static org.hamcrest.MatcherAssert.assertThat;

@MockServerTest
@RunWith(SpringRunner.class)
public class MockServerTestExecutionListenerTest {

    private MockServerClient mockServerClient;

    @Test
    public void setsMockServerClient() {
        assertThat(mockServerClient, is(not(nullValue())));
    }
}