Skip to content

Commit b230bd5

Browse files
committed
[NetLens][Interceptor use case tests] - fix naming
1 parent bfd2ba6 commit b230bd5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Tests/NetLensTests/UseCasesTests/StartNetworkInterceptionUseCaseTests.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ struct StartNetworkInterceptionUseCaseTests {
1515

1616
private let mockRepository: MockNetworkCallRepository
1717

18-
private let useCase: StartNetworkInterceptionUseCase
18+
private let startNetworkInterceptionUseCase: StartNetworkInterceptionUseCase
1919

2020
init() {
2121

2222
self.mockInterceptor = .init()
2323

2424
self.mockRepository = .init()
2525

26-
useCase = StartNetworkInterceptionUseCaseImpl(
26+
startNetworkInterceptionUseCase = StartNetworkInterceptionUseCaseImpl(
2727
interceptor: mockInterceptor,
2828
repository: mockRepository
2929
)
@@ -33,9 +33,10 @@ struct StartNetworkInterceptionUseCaseTests {
3333
func executeEnablesInterceptor() async throws {
3434
#expect(!mockInterceptor.isEnabled)
3535

36-
await useCase.execute()
36+
await startNetworkInterceptionUseCase.execute()
3737

3838
#expect(mockInterceptor.isEnabled)
39+
3940
#expect(mockInterceptor.enableCallCount == 1)
4041
}
4142
}

0 commit comments

Comments
 (0)