@@ -63,7 +63,7 @@ class ApiWriterSpec: StringSpec({
6363
6464 // when:
6565 options.formatCode = false
66- ApiWriter (options, stub(), stub(), enumWriter)
66+ ApiWriter (options, stub(), stub(), enumWriter, stub() )
6767 .write(api)
6868
6969 // then:
@@ -84,7 +84,7 @@ class ApiWriterSpec: StringSpec({
8484 val api = Api (dataTypes = dts)
8585
8686 // when:
87- ApiWriter (options, stub(), stub(), enumWriter)
87+ ApiWriter (options, stub(), stub(), enumWriter, stub() )
8888 .write(api)
8989
9090 // then:
@@ -97,7 +97,7 @@ class ApiWriterSpec: StringSpec({
9797
9898 " creates package structure in target folder" {
9999 // when:
100- ApiWriter (options, stub(), stub(), stub())
100+ ApiWriter (options, stub(), stub(), stub(), stub() )
101101 .write(Api ())
102102
103103 // then:
@@ -116,7 +116,7 @@ class ApiWriterSpec: StringSpec({
116116 Files .createDirectories(options.getSourceDir("model"))
117117
118118 shouldNotThrowAny {
119- ApiWriter (options, stub(), stub(), stub())
119+ ApiWriter (options, stub(), stub(), stub(), stub() )
120120 .write (Api ())
121121 }
122122 }
@@ -134,7 +134,7 @@ class ApiWriterSpec: StringSpec({
134134
135135 // when:
136136 options.formatCode = false
137- ApiWriter (options, itfWriter, stub(), stub())
137+ ApiWriter (options, itfWriter, stub(), stub(), stub() )
138138 .write (api)
139139
140140 // then:
@@ -154,7 +154,7 @@ class ApiWriterSpec: StringSpec({
154154
155155 // when:
156156 options.formatCode = false
157- ApiWriter (options, itfWriter, stub(), stub())
157+ ApiWriter (options, itfWriter, stub(), stub(), stub() )
158158 .write (api)
159159
160160 // then:
@@ -175,7 +175,7 @@ class ApiWriterSpec: StringSpec({
175175
176176 // when:
177177 options.formatCode = false
178- ApiWriter (options, stub(), dtWriter, stub())
178+ ApiWriter (options, stub(), dtWriter, stub(), stub() )
179179 .write(api)
180180
181181 // then:
@@ -192,7 +192,7 @@ class ApiWriterSpec: StringSpec({
192192 val api = Api (dataTypes = dt)
193193
194194 // when:
195- ApiWriter (options, stub(), dtWriter, stub())
195+ ApiWriter (options, stub(), dtWriter, stub(), stub() )
196196 .write (api)
197197
198198 // then:
@@ -208,7 +208,7 @@ class ApiWriterSpec: StringSpec({
208208 }
209209
210210 // when:
211- ApiWriter (options, itfWriter, stub(), stub())
211+ ApiWriter (options, itfWriter, stub(), stub(), stub() )
212212 .write (Api (listOf(
213213 `interface`("Foo ", options.getSourceDir("api").toString()) {}
214214 )))
@@ -233,7 +233,7 @@ class ApiWriterSpec: StringSpec({
233233 val api = Api (dataTypes = dt)
234234
235235 // when:
236- ApiWriter (options, stub(), dtWriter, stub())
236+ ApiWriter (options, stub(), dtWriter, stub(), stub() )
237237 .write (api)
238238
239239 // then:
@@ -252,7 +252,7 @@ class ApiWriterSpec: StringSpec({
252252
253253 // when:
254254 options.formatCode = false
255- ApiWriter (options, itfWriter, stub(), stub())
255+ ApiWriter (options, itfWriter, stub(), stub(), stub() )
256256 .write (Api (listOf(
257257 `interface`("Foo ", options.getSourceDir("api").toString()) {}
258258 )))
0 commit comments