Closing and restarting WireMock stub after and before each test (#707)

fixes gh-665
This commit is contained in:
Marcin Grzejszczak
2018-08-08 17:52:28 +02:00
committed by GitHub
parent 7046690842
commit c9228969de
68 changed files with 330 additions and 99 deletions

View File

@@ -0,0 +1,17 @@
package com.example.loan;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("service")
public class ServiceProperties {
private int port = 8080;
public void setPort(int port) {
this.port = port;
}
public int getPort() {
return this.port;
}
}