@@ -53,7 +53,7 @@ public final class RemoteDockerTestCase {
53
53
@ Test
54
54
public void pingTrueIfResponseIsOk () throws Exception {
55
55
MatcherAssert .assertThat (
56
- new TcpDocker (
56
+ new RemoteDocker (
57
57
new AssertRequest (
58
58
new Response (HttpStatus .SC_OK , "" )
59
59
),
@@ -70,7 +70,7 @@ public void pingTrueIfResponseIsOk() throws Exception {
70
70
@ Test
71
71
public void pingFalseIfResponseIsNotOk () throws Exception {
72
72
MatcherAssert .assertThat (
73
- new TcpDocker (
73
+ new RemoteDocker (
74
74
new AssertRequest (
75
75
new Response (HttpStatus .SC_NOT_FOUND , "" )
76
76
),
@@ -86,7 +86,7 @@ public void pingFalseIfResponseIsNotOk() throws Exception {
86
86
@ Test
87
87
public void getsContainers () {
88
88
MatcherAssert .assertThat (
89
- new TcpDocker (
89
+ new RemoteDocker (
90
90
Mockito .mock (HttpClient .class ),
91
91
URI .create ("http://localhost" )
92
92
).containers (),
@@ -100,7 +100,7 @@ public void getsContainers() {
100
100
@ Test
101
101
public void returnsSwarm () {
102
102
MatcherAssert .assertThat (
103
- new TcpDocker (
103
+ new RemoteDocker (
104
104
Mockito .mock (HttpClient .class ),
105
105
URI .create ("http://localhost" )
106
106
).swarm (),
@@ -115,7 +115,7 @@ public void returnsSwarm() {
115
115
@ Test
116
116
public void returnsImages () {
117
117
MatcherAssert .assertThat (
118
- new TcpDocker (
118
+ new RemoteDocker (
119
119
Mockito .mock (HttpClient .class ),
120
120
URI .create ("http://localhost" )
121
121
).images (),
@@ -130,7 +130,7 @@ public void returnsImages() {
130
130
public void returnsHttpClient () {
131
131
final HttpClient client = Mockito .mock (HttpClient .class );
132
132
MatcherAssert .assertThat (
133
- new TcpDocker (
133
+ new RemoteDocker (
134
134
client ,
135
135
URI .create ("http://localhost" )
136
136
).httpClient (),
@@ -147,7 +147,7 @@ public void returnsHttpClient() {
147
147
@ Test
148
148
public void returnsAuthHttpClient () {
149
149
MatcherAssert .assertThat (
150
- new TcpDocker (
150
+ new RemoteDocker (
151
151
URI .create ("http://localhost" ),
152
152
new Credentials (
"user" ,
"pwd" ,
"[email protected] " ,
"server.com" )
153
153
).httpClient (),
@@ -164,7 +164,7 @@ public void returnsAuthHttpClient() {
164
164
@ Test
165
165
public void returnsVolumes () {
166
166
MatcherAssert .assertThat (
167
- new TcpDocker (
167
+ new RemoteDocker (
168
168
Mockito .mock (HttpClient .class ),
169
169
URI .create ("http://localhost" )
170
170
).volumes (),
0 commit comments