com.github.tonivade.zeromock.junit4.UIOMockHttpServerRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zeromock-junit4 Show documentation
Show all versions of zeromock-junit4 Show documentation
Mock Http Server (mostly) without dependencies
/*
* Copyright (c) 2018-2020, Antonio Gabriel Muñoz Conejo
* Distributed under the terms of the MIT License
*/
package com.github.tonivade.zeromock.junit4;
import com.github.tonivade.purefun.effect.UIO_;
import static com.github.tonivade.zeromock.server.UIOMockHttpServer.sync;
public class UIOMockHttpServerRule extends AbstractMockServerRule {
public UIOMockHttpServerRule() {
this(0);
}
public UIOMockHttpServerRule(int port) {
super(sync().port(port).build());
}
}