Skip to content

Commit 87a7f7e

Browse files
authored
indentation
1 parent ea915af commit 87a7f7e

File tree

1 file changed

+30
-22
lines changed

1 file changed

+30
-22
lines changed

src/test/java/com/amihaiemil/docker/RtDockerSystemTestCase.java

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,39 @@ public final class RtDockerSystemTestCase {
2929
@Test
3030
public void returnsDiskSpaceUsage() throws Exception {
3131
long totalSpace = new RtDockerSystem(
32-
new AssertRequest(
33-
new Response(
34-
HttpStatus.SC_OK,
35-
Json.createObjectBuilder()
36-
.add("LayersSize", 250)
37-
.add("Containers",
38-
Json.createArrayBuilder()
39-
.add(Json.createObjectBuilder()
40-
.add("SizeRootFs", 50))
41-
).add("Volumes",
32+
new AssertRequest(
33+
new Response(
34+
HttpStatus.SC_OK,
35+
Json.createObjectBuilder()
36+
.add("LayersSize", 250)
37+
.add(
38+
"Containers",
4239
Json.createArrayBuilder()
43-
.add(
44-
Json.createObjectBuilder()
45-
.add("UsageData",
46-
Json.createObjectBuilder()
47-
.add("Size", 200)))
40+
.add(
41+
Json.createObjectBuilder()
42+
.add("SizeRootFs", 50)
43+
)
44+
)
45+
.add(
46+
"Volumes",
47+
Json.createArrayBuilder()
48+
.add(
49+
Json.createObjectBuilder()
50+
.add(
51+
"UsageData",
52+
Json.createObjectBuilder()
53+
.add("Size", 200)
54+
)
55+
)
4856
).build().toString()
49-
)
50-
),
51-
URI.create("http://localhost/system"),
52-
Mockito.mock(Docker.class)
53-
).diskUsage().totalSpace();
57+
)
58+
),
59+
URI.create("http://localhost/system"),
60+
Mockito.mock(Docker.class)
61+
).diskUsage().totalSpace();
5462
MatcherAssert.assertThat(
55-
totalSpace,
56-
Matchers.is(500L)
63+
totalSpace,
64+
Matchers.is(500L)
5765
);
5866
}
5967

0 commit comments

Comments
 (0)