All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.httpmock.api.Stubbing Maven / Gradle / Ivy

There is a newer version: 1.1.9
Show newest version
package com.github.httpmock.api;

import com.github.httpmock.dto.ConfigurationDto;
import com.github.httpmock.dto.RequestDto;
import com.github.httpmock.dto.ResponseDto;

public class Stubbing {

	private MockService mockService;
	private RequestDto request;

	public Stubbing(MockService mockService, RequestDto request) {
		this.mockService = mockService;
		this.request = request;
	}

	public void thenRespond(ResponseDto response) {
		mockService.configure(new ConfigurationDto(request, response));
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy