Search in sources :

Example 1 with SimpleHeaderPolicyDefBean

use of io.apiman.plugins.simpleheaderpolicy.beans.SimpleHeaderPolicyDefBean in project apiman-plugins by apiman.

the class SimpleHeaderPolicyTest method setup.

@Before
public void setup() {
    MockitoAnnotations.initMocks(this);
    policy = new SimpleHeaderPolicy();
    config = new SimpleHeaderPolicyDefBean();
    request = new ApiRequest();
    response = new ApiResponse();
}
Also used : ApiRequest(io.apiman.gateway.engine.beans.ApiRequest) SimpleHeaderPolicyDefBean(io.apiman.plugins.simpleheaderpolicy.beans.SimpleHeaderPolicyDefBean) ApiResponse(io.apiman.gateway.engine.beans.ApiResponse) Before(org.junit.Before)

Aggregations

ApiRequest (io.apiman.gateway.engine.beans.ApiRequest)1 ApiResponse (io.apiman.gateway.engine.beans.ApiResponse)1 SimpleHeaderPolicyDefBean (io.apiman.plugins.simpleheaderpolicy.beans.SimpleHeaderPolicyDefBean)1 Before (org.junit.Before)1