@@ -215,50 +215,50 @@ class SentryWatchdogTerminationScopeObserverTests: XCTestCase {
215215 XCTAssertEqual ( invocationContext, env)
216216 }
217217
218- func testSetTags_whenTagsIsNil_shouldCallFieldsProcessorSetTags ( ) throws {
218+ func testSetTags_whenTagsIsNil_shouldCallAttributesProcessorSetTags ( ) throws {
219219 // -- Act --
220220 sut. setTags ( nil )
221221
222222 // -- Assert --
223- XCTAssertEqual ( fixture. fieldsProcessor . setTagsInvocations. count, 1 )
224- let invocation = try XCTUnwrap ( fixture. fieldsProcessor . setTagsInvocations. first)
223+ XCTAssertEqual ( fixture. attributesProcessor . setTagsInvocations. count, 1 )
224+ let invocation = try XCTUnwrap ( fixture. attributesProcessor . setTagsInvocations. first)
225225 XCTAssertNil ( invocation)
226226 }
227227
228- func testSetTags_whenTagsIsDefined_shouldCallFieldsProcessorSetTags ( ) throws {
228+ func testSetTags_whenTagsIsDefined_shouldCallAttributesProcessorSetTags ( ) throws {
229229 // -- Arrange --
230230 let tags = fixture. tags
231231
232232 // -- Act --
233233 sut. setTags ( tags)
234234
235235 // -- Assert --
236- XCTAssertEqual ( fixture. fieldsProcessor . setTagsInvocations. count, 1 )
237- let invocation = try XCTUnwrap ( fixture. fieldsProcessor . setTagsInvocations. first)
236+ XCTAssertEqual ( fixture. attributesProcessor . setTagsInvocations. count, 1 )
237+ let invocation = try XCTUnwrap ( fixture. attributesProcessor . setTagsInvocations. first)
238238 let invocationContext = try XCTUnwrap ( invocation)
239239 XCTAssertEqual ( invocationContext, tags)
240240 }
241241
242- func testSetTraceContext_whenTraceContextIsNil_shouldCallFieldsProcessorSetTraceContext ( ) throws {
242+ func testSetTraceContext_whenTraceContextIsNil_shouldCallAttributesProcessorSetTraceContext ( ) throws {
243243 // -- Act --
244244 sut. setTraceContext ( nil )
245245
246246 // -- Assert --
247- XCTAssertEqual ( fixture. fieldsProcessor . setTraceContextInvocations. count, 1 )
248- let invocation = try XCTUnwrap ( fixture. fieldsProcessor . setTraceContextInvocations. first)
247+ XCTAssertEqual ( fixture. attributesProcessor . setTraceContextInvocations. count, 1 )
248+ let invocation = try XCTUnwrap ( fixture. attributesProcessor . setTraceContextInvocations. first)
249249 XCTAssertNil ( invocation)
250250 }
251251
252- func testSetTraceContext_whenTraceContextIsDefined_shouldCallFieldsProcessorSetTraceContext ( ) throws {
252+ func testSetTraceContext_whenTraceContextIsDefined_shouldCallAttributesProcessorSetTraceContext ( ) throws {
253253 // -- Arrange --
254254 let traceContext = fixture. traceContext
255255
256256 // -- Act --
257257 sut. setTraceContext ( traceContext)
258258
259259 // -- Assert --
260- XCTAssertEqual ( fixture. fieldsProcessor . setTraceContextInvocations. count, 1 )
261- let invocation = try XCTUnwrap ( fixture. fieldsProcessor . setTraceContextInvocations. first)
260+ XCTAssertEqual ( fixture. attributesProcessor . setTraceContextInvocations. count, 1 )
261+ let invocation = try XCTUnwrap ( fixture. attributesProcessor . setTraceContextInvocations. first)
262262 let invocationContext = try XCTUnwrap ( invocation)
263263 XCTAssertEqual ( NSDictionary ( dictionary: invocationContext) , NSDictionary ( dictionary: traceContext) )
264264 }
0 commit comments