diff --git a/.jazzy.yaml b/.jazzy.yaml index ae33b664..e2a34953 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -2,7 +2,7 @@ author: Przemysław Wośko, Andrzej Michnia author_url: https://girappe.com module: SwiftyMocky sourcekitten_sourcefile: docs.json -module_version: 4.1.0-pre +module_version: 4.1.0 github_url: https://github.com/MakeAWishFoundation/SwiftyMocky copyright: 'Copyright © 2017 MakeAWishFoundation. All rights reserved.' readme: guides/Overview.md diff --git a/Makefile b/Makefile index c5191755..17beef9f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ EXECUTABLE_NAME = swiftymocky REPO = https://github.com/MakeAWishFoundation/SwiftyMocky -VERSION = 4.1.0-pre +VERSION = 4.1.0 PREFIX = /usr/local INSTALL_PATH = $(PREFIX)/bin/$(EXECUTABLE_NAME) diff --git a/Mintfile b/Mintfile index dbf74dc1..a65e44a4 100644 --- a/Mintfile +++ b/Mintfile @@ -1,2 +1,2 @@ -MakeAWishFoundation/SwiftyMocky@4.1.0-pre +MakeAWishFoundation/SwiftyMocky@4.1.0 krzysztofzablocki/Sourcery@1.6.0 diff --git a/Podfile.lock b/Podfile.lock index e568fda6..44c99f03 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,6 +1,6 @@ PODS: - Sourcery (1.6.0) - - SwiftyMocky (4.1.0-pre): + - SwiftyMocky (4.1.0): - Sourcery (= 1.6.0) DEPENDENCIES: @@ -16,7 +16,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Sourcery: 744f43178637c79bf23127dfe34e2103b3f28499 - SwiftyMocky: d2bfe5784500228ee3f3c6dddebe35ef3e1d84e1 + SwiftyMocky: 014739247afadb65efb5bb92ede32c22b9365762 PODFILE CHECKSUM: bdcefa827bbd4d82b3bb801ca8e42fd57d9afed5 diff --git a/README.md b/README.md index 2978b577..f577e2a5 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ Add **SwiftyMocky** to you **Package.swift** dependencies: ```swift dependencies: [ - .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0-pre"), + .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0"), ] ``` @@ -385,15 +385,15 @@ SwiftyMocky is available under the MIT license. See the [LICENSE][link-license] -[link-docs]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/index.html -[link-docs-features]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/supported-features.html -[link-docs-installation]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/installation.html -[link-docs-installation-carthage]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/installation.html#installation-carthage -[link-docs-setup]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/setup-in-project.html +[link-docs]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/index.html +[link-docs-features]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/supported-features.html +[link-docs-installation]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/installation.html +[link-docs-installation-carthage]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/installation.html#installation-carthage +[link-docs-setup]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/setup-in-project.html -[logo]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/icon.png +[logo]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/4.1.0/icon.png [example-watcher]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/1.0.0/guides/assets/example-watcher.gif "Example - generation" [example-given]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/1.0.0/guides/assets/example-given.gif "Example - given" [example-verify]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/1.0.0/guides/assets/example-verify.gif "Example - verify" diff --git a/Sources/CLI/Core/Application.swift b/Sources/CLI/Core/Application.swift index eab9b965..2412650e 100644 --- a/Sources/CLI/Core/Application.swift +++ b/Sources/CLI/Core/Application.swift @@ -6,7 +6,7 @@ public class Application { // MARK: - Properties - public let version = "4.1.0-pre" + public let version = "4.1.0" public var pwd = Path(ProcessInfo.processInfo.environment["PWD"] ?? "") public var handle: (Error) -> Void = { error in switch error { diff --git a/Sources/SwiftyMocky/Mock.swifttemplate b/Sources/SwiftyMocky/Mock.swifttemplate index e836fdc3..a845d9f1 100644 --- a/Sources/SwiftyMocky/Mock.swifttemplate +++ b/Sources/SwiftyMocky/Mock.swifttemplate @@ -37,7 +37,7 @@ func stringArray(fromArguments arguments: [String: Any], forKey key: String) -> } } _%> -// Generated with SwiftyMocky 4.1.0-pre +// Generated with SwiftyMocky 4.1.0 // Required Sourcery: 1.6.0 <%_ for rule in swiftLintRules(argument) { -%> diff --git a/Sources/SwiftyPrototype/Prototype.swifttemplate b/Sources/SwiftyPrototype/Prototype.swifttemplate index c10f522d..0a19f18a 100644 --- a/Sources/SwiftyPrototype/Prototype.swifttemplate +++ b/Sources/SwiftyPrototype/Prototype.swifttemplate @@ -37,7 +37,7 @@ func stringArray(fromArguments arguments: [String: Any], forKey key: String) -> } } _%> -// Generated with SwiftyPrototype 4.1.0-pre +// Generated with SwiftyPrototype 4.1.0 // Required Sourcery: 1.6.0 <%_ for rule in swiftLintRules(argument) { -%> diff --git a/SwiftyMocky-Runtime/Info.plist b/SwiftyMocky-Runtime/Info.plist index 01d09f34..4529bea4 100644 --- a/SwiftyMocky-Runtime/Info.plist +++ b/SwiftyMocky-Runtime/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.1.0-pre + 4.1.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/SwiftyMocky-Tests/iOS/Mocks/Mock.15.generated.swift b/SwiftyMocky-Tests/iOS/Mocks/Mock.15.generated.swift index 85af32a9..624e69ba 100644 --- a/SwiftyMocky-Tests/iOS/Mocks/Mock.15.generated.swift +++ b/SwiftyMocky-Tests/iOS/Mocks/Mock.15.generated.swift @@ -2,7 +2,7 @@ // DO NOT EDIT -// Generated with SwiftyMocky 4.1.0-pre +// Generated with SwiftyMocky 4.1.0 // Required Sourcery: 1.6.0 diff --git a/SwiftyMocky-Tests/iOS/Mocks/Mock.generated.swift b/SwiftyMocky-Tests/iOS/Mocks/Mock.generated.swift index 630ea646..113f6c40 100644 --- a/SwiftyMocky-Tests/iOS/Mocks/Mock.generated.swift +++ b/SwiftyMocky-Tests/iOS/Mocks/Mock.generated.swift @@ -2,7 +2,7 @@ // DO NOT EDIT -// Generated with SwiftyMocky 4.1.0-pre +// Generated with SwiftyMocky 4.1.0 // Required Sourcery: 1.6.0 diff --git a/SwiftyMocky-Tests/macOS/Mocks/Mock.generated.swift b/SwiftyMocky-Tests/macOS/Mocks/Mock.generated.swift index cf579938..59ac08cc 100644 --- a/SwiftyMocky-Tests/macOS/Mocks/Mock.generated.swift +++ b/SwiftyMocky-Tests/macOS/Mocks/Mock.generated.swift @@ -2,7 +2,7 @@ // DO NOT EDIT -// Generated with SwiftyMocky 4.1.0-pre +// Generated with SwiftyMocky 4.1.0 // Required Sourcery: 1.6.0 diff --git a/SwiftyMocky-Tests/tvOS/Mocks/Mock.generated.swift b/SwiftyMocky-Tests/tvOS/Mocks/Mock.generated.swift index e3d3607c..86922f4b 100644 --- a/SwiftyMocky-Tests/tvOS/Mocks/Mock.generated.swift +++ b/SwiftyMocky-Tests/tvOS/Mocks/Mock.generated.swift @@ -2,7 +2,7 @@ // DO NOT EDIT -// Generated with SwiftyMocky 4.1.0-pre +// Generated with SwiftyMocky 4.1.0 // Required Sourcery: 1.6.0 diff --git a/SwiftyMocky.podspec b/SwiftyMocky.podspec index b118bcba..4e9673a3 100644 --- a/SwiftyMocky.podspec +++ b/SwiftyMocky.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'SwiftyMocky' - s.version = '4.1.0-pre' + s.version = '4.1.0' s.summary = 'Unit testing library for Swift, with mock generation. Adds a set of handy methods, simplifying testing.' s.description = <<-DESC Library that uses metaprogramming technique to generate mocks based on sources, that makes testing for Swift Mockito-like. diff --git a/SwiftyMocky.xcodeproj/project.pbxproj b/SwiftyMocky.xcodeproj/project.pbxproj index 1167913e..4a3cecfd 100644 --- a/SwiftyMocky.xcodeproj/project.pbxproj +++ b/SwiftyMocky.xcodeproj/project.pbxproj @@ -10,9 +10,11 @@ 023E5B0925ECD4B400B975CD /* ComposedServiceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 023E5B0825ECD4B400B975CD /* ComposedServiceTests.swift */; }; 023E5B0A25ECD4B400B975CD /* ComposedServiceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 023E5B0825ECD4B400B975CD /* ComposedServiceTests.swift */; }; 023E5B0B25ECD4B400B975CD /* ComposedServiceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 023E5B0825ECD4B400B975CD /* ComposedServiceTests.swift */; }; + 136D1FD5B90F87009EDDF350 /* Pods_Mocky_Tests_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E649ECF55738052FFD6D124 /* Pods_Mocky_Tests_iOS.framework */; }; 1D5310CA3DE7147ACC9E7E26 /* Pods_Mocky_Tests_tvOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64EF60CBE53D81700C87FB82 /* Pods_Mocky_Tests_tvOS.framework */; }; 5CB0B098232DC176CC9CACD8 /* Pods_Mocky_Example_tvOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9C9BECF310A1D4EDD384137 /* Pods_Mocky_Example_tvOS.framework */; }; - 66087FEBDA538F4C138743F2 /* (null) in Frameworks */ = {isa = PBXBuildFile; }; + 66087FEBDA538F4C138743F2 /* BuildFile in Frameworks */ = {isa = PBXBuildFile; }; + 6921396CE20C5E332DE41D60 /* Pods_Mocky_Example_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5568CBB5C310F46C201A252 /* Pods_Mocky_Example_iOS.framework */; }; 6C3186ED22DF613C00746DCC /* ProtocolWithGenericConstraints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186EC22DF613C00746DCC /* ProtocolWithGenericConstraints.swift */; }; 6C3186EE22DF613C00746DCC /* ProtocolWithGenericConstraints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186EC22DF613C00746DCC /* ProtocolWithGenericConstraints.swift */; }; 6C3186EF22DF613C00746DCC /* ProtocolWithGenericConstraints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186EC22DF613C00746DCC /* ProtocolWithGenericConstraints.swift */; }; @@ -20,7 +22,7 @@ 6C3186F322DF67D800746DCC /* ProtocolWithGenericConstraintsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186F122DF67D800746DCC /* ProtocolWithGenericConstraintsTests.swift */; }; 6C3186F422DF67D800746DCC /* ProtocolWithGenericConstraintsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C3186F122DF67D800746DCC /* ProtocolWithGenericConstraintsTests.swift */; }; 7C10E4406673B3B3B7474E2C /* Pods_Mocky_Tests_macOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 94B5EFCCD4E35E7C80D1E560 /* Pods_Mocky_Tests_macOS.framework */; }; - BB4F9E470E0BD27A959C97EB /* (null) in Frameworks */ = {isa = PBXBuildFile; }; + BB4F9E470E0BD27A959C97EB /* BuildFile in Frameworks */ = {isa = PBXBuildFile; }; C81D094D22C0C59800A0427F /* CustomAssertionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C81D094C22C0C59800A0427F /* CustomAssertionsTests.swift */; }; C81D094E22C0C59800A0427F /* CustomAssertionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C81D094C22C0C59800A0427F /* CustomAssertionsTests.swift */; }; C81D094F22C0C59800A0427F /* CustomAssertionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C81D094C22C0C59800A0427F /* CustomAssertionsTests.swift */; }; @@ -386,6 +388,7 @@ 4960EAA67C2E0980248C6B94 /* Pods_Mocky_Example_macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Mocky_Example_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 5A18BEE608FDDA6D1B72681A /* Pods-Mocky_Example_tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Mocky_Example_tvOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-Mocky_Example_tvOS/Pods-Mocky_Example_tvOS.release.xcconfig"; sourceTree = ""; }; 5ABA0D357F98DC923C090E09 /* Pods-Mocky_Tests_iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Mocky_Tests_iOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-Mocky_Tests_iOS/Pods-Mocky_Tests_iOS.release.xcconfig"; sourceTree = ""; }; + 5E649ECF55738052FFD6D124 /* Pods_Mocky_Tests_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Mocky_Tests_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD01AFB9204008FA782 /* Mocky_Example_iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Mocky_Example_iOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACE51AFB9204008FA782 /* Mocky_Tests_iOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Mocky_Tests_iOS.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 64EF60CBE53D81700C87FB82 /* Pods_Mocky_Tests_tvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Mocky_Tests_tvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -543,6 +546,7 @@ D8800E89CF0FDD37D5C97682 /* Pods-Mocky_Tests_iOS_15.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Mocky_Tests_iOS_15.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Mocky_Tests_iOS_15/Pods-Mocky_Tests_iOS_15.debug.xcconfig"; sourceTree = ""; }; E0F0B024E7EFDB2727CEE125 /* Pods-Mocky_Tests_macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Mocky_Tests_macOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-Mocky_Tests_macOS/Pods-Mocky_Tests_macOS.release.xcconfig"; sourceTree = ""; }; E467147D1ECEF4D600C7DAB3 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + E5568CBB5C310F46C201A252 /* Pods_Mocky_Example_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Mocky_Example_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; E671CB0D6255BBBB2FADDA17 /* Pods-Mocky_Example_macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Mocky_Example_macOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Mocky_Example_macOS/Pods-Mocky_Example_macOS.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -567,7 +571,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 66087FEBDA538F4C138743F2 /* (null) in Frameworks */, + 66087FEBDA538F4C138743F2 /* BuildFile in Frameworks */, + 6921396CE20C5E332DE41D60 /* Pods_Mocky_Example_iOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -575,7 +580,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - BB4F9E470E0BD27A959C97EB /* (null) in Frameworks */, + BB4F9E470E0BD27A959C97EB /* BuildFile in Frameworks */, + 136D1FD5B90F87009EDDF350 /* Pods_Mocky_Tests_iOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -711,6 +717,8 @@ 64EF60CBE53D81700C87FB82 /* Pods_Mocky_Tests_tvOS.framework */, 804A136FF4426600B9404159 /* Pods_Mocky_Example_iOS_15.framework */, D0183EA4DB760A37EE1C5C98 /* Pods_Mocky_Tests_iOS_15.framework */, + E5568CBB5C310F46C201A252 /* Pods_Mocky_Example_iOS.framework */, + 5E649ECF55738052FFD6D124 /* Pods_Mocky_Tests_iOS.framework */, ); name = Frameworks; sourceTree = ""; diff --git a/SwiftyPrototype.podspec b/SwiftyPrototype.podspec index dfb0dd68..2d2d8d1e 100644 --- a/SwiftyPrototype.podspec +++ b/SwiftyPrototype.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'SwiftyPrototype' - s.version = '4.1.0-pre' + s.version = '4.1.0' s.summary = 'Prototyping/Faking library for Swift, with code generation. Auto-generates fakes/prototypes based on protocol definitions.' s.description = <<-DESC Library that uses metaprogramming technique to generate fakes/prototypes based on sources, makin it easier to prototype app. diff --git a/Templates/Header-Mock.swifttemplate b/Templates/Header-Mock.swifttemplate index 898cd4fe..4ad988a8 100644 --- a/Templates/Header-Mock.swifttemplate +++ b/Templates/Header-Mock.swifttemplate @@ -1,4 +1,4 @@ -// Generated with SwiftyMocky 4.1.0-pre +// Generated with SwiftyMocky 4.1.0 // Required Sourcery: 1.6.0 <%_ for rule in swiftLintRules(argument) { -%> diff --git a/Templates/Header-Prototype.swifttemplate b/Templates/Header-Prototype.swifttemplate index a40d3585..5356eff9 100644 --- a/Templates/Header-Prototype.swifttemplate +++ b/Templates/Header-Prototype.swifttemplate @@ -1,4 +1,4 @@ -// Generated with SwiftyPrototype 4.1.0-pre +// Generated with SwiftyPrototype 4.1.0 // Required Sourcery: 1.6.0 <%_ for rule in swiftLintRules(argument) { -%> diff --git a/Tests/SwiftyMockyCLICoreTests/Mock.generated.swift b/Tests/SwiftyMockyCLICoreTests/Mock.generated.swift index f9cb4693..8d3b46f6 100644 --- a/Tests/SwiftyMockyCLICoreTests/Mock.generated.swift +++ b/Tests/SwiftyMockyCLICoreTests/Mock.generated.swift @@ -2,7 +2,7 @@ // DO NOT EDIT -// Generated with SwiftyMocky 4.1.0-pre +// Generated with SwiftyMocky 4.1.0 // Required Sourcery: 1.6.0 diff --git a/Tests/SwiftyMockyTests/Mock.generated.swift b/Tests/SwiftyMockyTests/Mock.generated.swift index 4e9e0fea..ce28df26 100644 --- a/Tests/SwiftyMockyTests/Mock.generated.swift +++ b/Tests/SwiftyMockyTests/Mock.generated.swift @@ -2,7 +2,7 @@ // DO NOT EDIT -// Generated with SwiftyMocky 4.1.0-pre +// Generated with SwiftyMocky 4.1.0 // Required Sourcery: 1.6.0 diff --git a/bin/swiftymocky b/bin/swiftymocky index 7f453a21..1fc2873b 100755 Binary files a/bin/swiftymocky and b/bin/swiftymocky differ diff --git a/docs/Additional Guides.html b/docs/Additional Guides.html index 34b996ac..eea58329 100644 --- a/docs/Additional Guides.html +++ b/docs/Additional Guides.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Classes/ArgumentCaptor.html b/docs/Classes/ArgumentCaptor.html index 1d60ee7f..5b548f0d 100644 --- a/docs/Classes/ArgumentCaptor.html +++ b/docs/Classes/ArgumentCaptor.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Classes/Matcher.html b/docs/Classes/Matcher.html index 1145ce95..87cfb252 100644 --- a/docs/Classes/Matcher.html +++ b/docs/Classes/Matcher.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Classes/Matcher/ComparisonResult.html b/docs/Classes/Matcher/ComparisonResult.html index 74bbf6b7..11947061 100644 --- a/docs/Classes/Matcher/ComparisonResult.html +++ b/docs/Classes/Matcher/ComparisonResult.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Classes/Matcher/ParameterComparisonResult.html b/docs/Classes/Matcher/ParameterComparisonResult.html index 1ededc3a..9cc38a6f 100644 --- a/docs/Classes/Matcher/ParameterComparisonResult.html +++ b/docs/Classes/Matcher/ParameterComparisonResult.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Classes/MockyAssertion.html b/docs/Classes/MockyAssertion.html index af4491f6..e9dfa5cf 100644 --- a/docs/Classes/MockyAssertion.html +++ b/docs/Classes/MockyAssertion.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Classes/StubbedMethod.html b/docs/Classes/StubbedMethod.html index f527ba02..c2cbed6e 100644 --- a/docs/Classes/StubbedMethod.html +++ b/docs/Classes/StubbedMethod.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Classes/SwiftyMockyTestObserver.html b/docs/Classes/SwiftyMockyTestObserver.html index c358c944..94694e6f 100644 --- a/docs/Classes/SwiftyMockyTestObserver.html +++ b/docs/Classes/SwiftyMockyTestObserver.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Configuration.html b/docs/Configuration.html index c9768dd1..e96ef344 100644 --- a/docs/Configuration.html +++ b/docs/Configuration.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Enums/Count.html b/docs/Enums/Count.html index cfcaa6be..37d20931 100644 --- a/docs/Enums/Count.html +++ b/docs/Enums/Count.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Enums/MockError.html b/docs/Enums/MockError.html index e2675fae..2945bc17 100644 --- a/docs/Enums/MockError.html +++ b/docs/Enums/MockError.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Enums/MockScope.html b/docs/Enums/MockScope.html index 9df66884..36b05577 100644 --- a/docs/Enums/MockScope.html +++ b/docs/Enums/MockScope.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Enums/Parameter.html b/docs/Enums/Parameter.html index 50a42217..e509fd2d 100644 --- a/docs/Enums/Parameter.html +++ b/docs/Enums/Parameter.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + @@ -493,6 +496,1057 @@

Declaration

+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns whether given two parameters are matching each other, with following rules:

    + +
      +
    1. if parameter is .any - it is equal to any other parameter
    2. +
    3. if both are .value - then compare wrapped ValueType instances.
    4. +
    5. if they are not Equatable (or not a Sequences of Equatable), use provided matcher instance
    6. +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + lhs + + +
    +

    First parameter

    +
    +
    + + rhs + + +
    +

    Second parameter

    +
    +
    + + matcher + + +
    +

    Matcher instance

    +
    +
    +
    +
    +

    Return Value

    +

    true, if first is matching second

    +
    +
    +
    +
  • +
  • +
    + + + + wrapAsGeneric() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func wrapAsGeneric() -> Parameter<GenericAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
  • +
    + + + + typeErasedAttribute() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    [Internal] Fatal error raised when no comparator or default comparator found for ValueType.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func noComparatorFailure(in matcher: Matcher) -> Swift.Never
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    [Internal] Compare two parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + lhs + + +
    +

    one

    +
    +
    + + rhs + + +
    +

    other

    +
    +
    + + matcher + + +
    +

    Matcher instance used for comparison

    +
    +
    +
    +
    +

    Return Value

    +

    true if they are matching, false otherwise

    +
    +
    +
    +
  • +
+
+
+ +
    +
  • + +
    +
    +
    +
    +
    +

    [Internal] Compare two parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + lhs + + +
    +

    one

    +
    +
    + + rhs + + +
    +

    other

    +
    +
    + + matcher + + +
    +

    Matcher instance used for comparison

    +
    +
    +
    +
    +

    Return Value

    +

    true if they are matching, false otherwise

    +
    +
    +
    +
  • +
  • +
    + + + + wrapAsGeneric() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func wrapAsGeneric() -> Parameter<GenericAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
  • +
    + + + + typeErasedAttribute() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
+
+
+ +
    +
  • + +
    +
    +
    +
    +
    +

    [Internal] Compare two parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + lhs + + +
    +

    one

    +
    +
    + + rhs + + +
    +

    other

    +
    +
    + + matcher + + +
    +

    Matcher instance used for comparison

    +
    +
    +
    +
    +

    Return Value

    +

    true if they are matching, false otherwise

    +
    +
    +
    +
  • +
  • +
    + + + + wrapAsGeneric() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func wrapAsGeneric() -> Parameter<GenericAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
  • +
    + + + + typeErasedAttribute() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
+
+
+ +
    +
  • + +
    +
    +
    +
    +
    +

    [Internal] Compare two parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + lhs + + +
    +

    one

    +
    +
    + + rhs + + +
    +

    other

    +
    +
    + + matcher + + +
    +

    Matcher instance used for comparison

    +
    +
    +
    +
    +

    Return Value

    +

    true if they are matching, false otherwise

    +
    +
    +
    +
  • +
  • +
    + + + + wrapAsGeneric() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func wrapAsGeneric() -> Parameter<GenericAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
  • +
    + + + + typeErasedAttribute() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + Element + +
    +
    +
    +
    +
    +
    +

    Element

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    typealias Element = ValueType.Element
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    [Internal] Compare two parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + lhs + + +
    +

    one

    +
    +
    + + rhs + + +
    +

    other

    +
    +
    + + matcher + + +
    +

    Matcher instance used for comparison

    +
    +
    +
    +
    +

    Return Value

    +

    true if they are matching, false otherwise

    +
    +
    +
    +
  • +
  • +
    + + + + wrapAsGeneric() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func wrapAsGeneric() -> Parameter<GenericAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
  • +
    + + + + typeErasedAttribute() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
+
+
+ +
    +
  • + +
    +
    +
    +
    +
    +

    [Internal] Compare two parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + lhs + + +
    +

    one

    +
    +
    + + rhs + + +
    +

    other

    +
    +
    + + matcher + + +
    +

    Matcher instance used for comparison

    +
    +
    +
    +
    +

    Return Value

    +

    true if they are matching, false otherwise

    +
    +
    +
    +
  • +
  • +
    + + + + wrapAsGeneric() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func wrapAsGeneric() -> Parameter<GenericAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
  • +
    + + + + typeErasedAttribute() + +
    +
    +
    +
    +
    +
    +

    [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
    + +
    +
    +
    +

    Return Value

    +

    Wrapped parameter

    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + notNil + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var notNil: Parameter<ValueType> { get }
    + +
    +
    +
    +
    +
  • +
+
diff --git a/docs/Enums/SequencingPolicy.html b/docs/Enums/SequencingPolicy.html index 4a22b7d8..99891a27 100644 --- a/docs/Enums/SequencingPolicy.html +++ b/docs/Enums/SequencingPolicy.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Enums/StubProduct.html b/docs/Enums/StubProduct.html index 3faa0d6a..e15a8447 100644 --- a/docs/Enums/StubProduct.html +++ b/docs/Enums/StubProduct.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Enums/StubbingPolicy.html b/docs/Enums/StubbingPolicy.html index 353997af..c9ccccbb 100644 --- a/docs/Enums/StubbingPolicy.html +++ b/docs/Enums/StubbingPolicy.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Enums/Utils.html b/docs/Enums/Utils.html index b9ce3267..80937d7c 100644 --- a/docs/Enums/Utils.html +++ b/docs/Enums/Utils.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Extensions/Int.html b/docs/Extensions/Int.html index 649f1d29..1c53e6e1 100644 --- a/docs/Extensions/Int.html +++ b/docs/Extensions/Int.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Extensions/Optional.html b/docs/Extensions/Optional.html index c2eac300..29f0705e 100644 --- a/docs/Extensions/Optional.html +++ b/docs/Extensions/Optional.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + @@ -337,6 +340,37 @@

Return Value

+
+
    +
  • +
    + + + + isNotNil + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var isNotNil: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+ +
    +
  • +
    + + + + OptionalType + +
    +
    +
    +
    +
    +
    +

    Protocol around Optional, allowing additional checks and features on Paramater where value is optional.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol OptionalType : ExpressibleByNilLiteral
    + +
    +
    +
    +
    +
  • +
+
diff --git a/docs/Main Guides.html b/docs/Main Guides.html index 24e93cde..ed98ed9d 100644 --- a/docs/Main Guides.html +++ b/docs/Main Guides.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Other Classes.html b/docs/Other Classes.html index 75dcc313..1decdc2b 100644 --- a/docs/Other Classes.html +++ b/docs/Other Classes.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Other Enums.html b/docs/Other Enums.html index bdd2199a..58f372f4 100644 --- a/docs/Other Enums.html +++ b/docs/Other Enums.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Other Guides.html b/docs/Other Guides.html index a3596699..92c7ced5 100644 --- a/docs/Other Guides.html +++ b/docs/Other Guides.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Other Protocols.html b/docs/Other Protocols.html index 840ddb6e..f0c6dd06 100644 --- a/docs/Other Protocols.html +++ b/docs/Other Protocols.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Other Structs.html b/docs/Other Structs.html index 4b0edcd5..c239d146 100644 --- a/docs/Other Structs.html +++ b/docs/Other Structs.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Protocols/Countable.html b/docs/Protocols/Countable.html index c646900f..58294e7e 100644 --- a/docs/Protocols/Countable.html +++ b/docs/Protocols/Countable.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Protocols/Mock.html b/docs/Protocols/Mock.html index c2bd077d..529672ea 100644 --- a/docs/Protocols/Mock.html +++ b/docs/Protocols/Mock.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Protocols/OptionalType.html b/docs/Protocols/OptionalType.html new file mode 100644 index 00000000..ddf84e18 --- /dev/null +++ b/docs/Protocols/OptionalType.html @@ -0,0 +1,330 @@ + + + + OptionalType Protocol Reference + + + + + + + + + + +
+
+

SwiftyMocky 4.1.0 Docs (86% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

OptionalType

+
+
+
public protocol OptionalType : ExpressibleByNilLiteral
+ +
+
+

Protocol around Optional, allowing additional checks and features on Paramater where value is optional.

+ +
+
+
+
    +
  • +
    + + + + isNotNil + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isNotNil: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ +
+ diff --git a/docs/Protocols/StaticMock.html b/docs/Protocols/StaticMock.html index 9b2c24c7..18b4f371 100644 --- a/docs/Protocols/StaticMock.html +++ b/docs/Protocols/StaticMock.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Protocols/TypeErasedValue.html b/docs/Protocols/TypeErasedValue.html index b9260ee4..fdeadce2 100644 --- a/docs/Protocols/TypeErasedValue.html +++ b/docs/Protocols/TypeErasedValue.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Protocols/WithSequencingPolicy.html b/docs/Protocols/WithSequencingPolicy.html index b5afdd08..f3eb79d9 100644 --- a/docs/Protocols/WithSequencingPolicy.html +++ b/docs/Protocols/WithSequencingPolicy.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Protocols/WithStaticSequencingPolicy.html b/docs/Protocols/WithStaticSequencingPolicy.html index e61a0ec1..16c01ae7 100644 --- a/docs/Protocols/WithStaticSequencingPolicy.html +++ b/docs/Protocols/WithStaticSequencingPolicy.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Protocols/WithStubbingPolicy.html b/docs/Protocols/WithStubbingPolicy.html index 7816ab29..ab9cae19 100644 --- a/docs/Protocols/WithStubbingPolicy.html +++ b/docs/Protocols/WithStubbingPolicy.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Structs/FatalErrorUtil.html b/docs/Structs/FatalErrorUtil.html index e3af0fdf..bd982636 100644 --- a/docs/Structs/FatalErrorUtil.html +++ b/docs/Structs/FatalErrorUtil.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Structs/GenericAttribute.html b/docs/Structs/GenericAttribute.html index 4fa8a783..5ac81d95 100644 --- a/docs/Structs/GenericAttribute.html +++ b/docs/Structs/GenericAttribute.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Structs/Stubber.html b/docs/Structs/Stubber.html index 3a460bd5..db773538 100644 --- a/docs/Structs/Stubber.html +++ b/docs/Structs/Stubber.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Structs/StubberThrows.html b/docs/Structs/StubberThrows.html index e29c682e..93b6629e 100644 --- a/docs/Structs/StubberThrows.html +++ b/docs/Structs/StubberThrows.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Structs/TypeErasedAttribute.html b/docs/Structs/TypeErasedAttribute.html index fd72249c..0a60d9d8 100644 --- a/docs/Structs/TypeErasedAttribute.html +++ b/docs/Structs/TypeErasedAttribute.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/Types.html b/docs/Types.html index 9f42bb66..02b3686b 100644 --- a/docs/Types.html +++ b/docs/Types.html @@ -14,7 +14,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -189,6 +189,9 @@ + diff --git a/docs/add-xcode-generate-action.html b/docs/add-xcode-generate-action.html index 58db4928..d96c98c9 100644 --- a/docs/add-xcode-generate-action.html +++ b/docs/add-xcode-generate-action.html @@ -13,7 +13,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -188,6 +188,9 @@ + diff --git a/docs/changelog.html b/docs/changelog.html index 0447f7df..b3d33e1b 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -13,7 +13,7 @@
-

SwiftyMocky 4.1.0-pre Docs (86% documented)

+

SwiftyMocky 4.1.0 Docs (86% documented)

View on GitHub

@@ -188,6 +188,9 @@ + @@ -295,6 +298,8 @@

Fixed:

  • Fixed @availability for Swift 5.5
  • Fixed other basic issues and changes for Sourcery 1.6.0
  • Fixed observer setup when test is marked as async
  • +
  • Fixed CLI dependencies (Sergey Kovalenko)
  • +
  • Moved tests from travis to github actions

  • diff --git a/docs/command-line-interface.html b/docs/command-line-interface.html index d0d7f399..f12aacb0 100644 --- a/docs/command-line-interface.html +++ b/docs/command-line-interface.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + diff --git a/docs/contents.html b/docs/contents.html index 0dcd5666..9cb9d6f0 100644 --- a/docs/contents.html +++ b/docs/contents.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Additional Guides.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Additional Guides.html index 34b996ac..eea58329 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Additional Guides.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Additional Guides.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/ArgumentCaptor.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/ArgumentCaptor.html index 1d60ee7f..5b548f0d 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/ArgumentCaptor.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/ArgumentCaptor.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher.html index 1145ce95..87cfb252 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher/ComparisonResult.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher/ComparisonResult.html index 74bbf6b7..11947061 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher/ComparisonResult.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher/ComparisonResult.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher/ParameterComparisonResult.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher/ParameterComparisonResult.html index 1ededc3a..9cc38a6f 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher/ParameterComparisonResult.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/Matcher/ParameterComparisonResult.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/MockyAssertion.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/MockyAssertion.html index af4491f6..e9dfa5cf 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/MockyAssertion.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/MockyAssertion.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/StubbedMethod.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/StubbedMethod.html index f527ba02..c2cbed6e 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/StubbedMethod.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/StubbedMethod.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/SwiftyMockyTestObserver.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/SwiftyMockyTestObserver.html index c358c944..94694e6f 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/SwiftyMockyTestObserver.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Classes/SwiftyMockyTestObserver.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Configuration.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Configuration.html index c9768dd1..e96ef344 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Configuration.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Configuration.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Count.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Count.html index cfcaa6be..37d20931 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Count.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Count.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/MockError.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/MockError.html index e2675fae..2945bc17 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/MockError.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/MockError.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/MockScope.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/MockScope.html index 9df66884..36b05577 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/MockScope.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/MockScope.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Parameter.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Parameter.html index 50a42217..e509fd2d 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Parameter.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Parameter.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + @@ -493,6 +496,1057 @@

    Declaration

    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      Returns whether given two parameters are matching each other, with following rules:

      + +
        +
      1. if parameter is .any - it is equal to any other parameter
      2. +
      3. if both are .value - then compare wrapped ValueType instances.
      4. +
      5. if they are not Equatable (or not a Sequences of Equatable), use provided matcher instance
      6. +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + lhs + + +
      +

      First parameter

      +
      +
      + + rhs + + +
      +

      Second parameter

      +
      +
      + + matcher + + +
      +

      Matcher instance

      +
      +
      +
      +
      +

      Return Value

      +

      true, if first is matching second

      +
      +
      +
      +
    • +
    • +
      + + + + wrapAsGeneric() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func wrapAsGeneric() -> Parameter<GenericAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    • +
      + + + + typeErasedAttribute() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      [Internal] Fatal error raised when no comparator or default comparator found for ValueType.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func noComparatorFailure(in matcher: Matcher) -> Swift.Never
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      [Internal] Compare two parameters

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + lhs + + +
      +

      one

      +
      +
      + + rhs + + +
      +

      other

      +
      +
      + + matcher + + +
      +

      Matcher instance used for comparison

      +
      +
      +
      +
      +

      Return Value

      +

      true if they are matching, false otherwise

      +
      +
      +
      +
    • +
    +
    +
    + +
      +
    • + +
      +
      +
      +
      +
      +

      [Internal] Compare two parameters

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + lhs + + +
      +

      one

      +
      +
      + + rhs + + +
      +

      other

      +
      +
      + + matcher + + +
      +

      Matcher instance used for comparison

      +
      +
      +
      +
      +

      Return Value

      +

      true if they are matching, false otherwise

      +
      +
      +
      +
    • +
    • +
      + + + + wrapAsGeneric() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func wrapAsGeneric() -> Parameter<GenericAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    • +
      + + + + typeErasedAttribute() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    +
    +
    + +
      +
    • + +
      +
      +
      +
      +
      +

      [Internal] Compare two parameters

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + lhs + + +
      +

      one

      +
      +
      + + rhs + + +
      +

      other

      +
      +
      + + matcher + + +
      +

      Matcher instance used for comparison

      +
      +
      +
      +
      +

      Return Value

      +

      true if they are matching, false otherwise

      +
      +
      +
      +
    • +
    • +
      + + + + wrapAsGeneric() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func wrapAsGeneric() -> Parameter<GenericAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    • +
      + + + + typeErasedAttribute() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    +
    +
    + +
      +
    • + +
      +
      +
      +
      +
      +

      [Internal] Compare two parameters

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + lhs + + +
      +

      one

      +
      +
      + + rhs + + +
      +

      other

      +
      +
      + + matcher + + +
      +

      Matcher instance used for comparison

      +
      +
      +
      +
      +

      Return Value

      +

      true if they are matching, false otherwise

      +
      +
      +
      +
    • +
    • +
      + + + + wrapAsGeneric() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func wrapAsGeneric() -> Parameter<GenericAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    • +
      + + + + typeErasedAttribute() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    +
    +
    + +
      +
    • +
      + + + + Element + +
      +
      +
      +
      +
      +
      +

      Element

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      typealias Element = ValueType.Element
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      [Internal] Compare two parameters

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + lhs + + +
      +

      one

      +
      +
      + + rhs + + +
      +

      other

      +
      +
      + + matcher + + +
      +

      Matcher instance used for comparison

      +
      +
      +
      +
      +

      Return Value

      +

      true if they are matching, false otherwise

      +
      +
      +
      +
    • +
    • +
      + + + + wrapAsGeneric() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func wrapAsGeneric() -> Parameter<GenericAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    • +
      + + + + typeErasedAttribute() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    +
    +
    + +
      +
    • + +
      +
      +
      +
      +
      +

      [Internal] Compare two parameters

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + lhs + + +
      +

      one

      +
      +
      + + rhs + + +
      +

      other

      +
      +
      + + matcher + + +
      +

      Matcher instance used for comparison

      +
      +
      +
      +
      +

      Return Value

      +

      true if they are matching, false otherwise

      +
      +
      +
      +
    • +
    • +
      + + + + wrapAsGeneric() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func wrapAsGeneric() -> Parameter<GenericAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    • +
      + + + + typeErasedAttribute() + +
      +
      +
      +
      +
      +
      +

      [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func typeErasedAttribute() -> Parameter<TypeErasedAttribute>
      + +
      +
      +
      +

      Return Value

      +

      Wrapped parameter

      +
      +
      +
      +
    • +
    +
    +
    + +
      +
    • +
      + + + + notNil + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static var notNil: Parameter<ValueType> { get }
      + +
      +
      +
      +
      +
    • +
    +
    diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/SequencingPolicy.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/SequencingPolicy.html index 4a22b7d8..99891a27 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/SequencingPolicy.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/SequencingPolicy.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/StubProduct.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/StubProduct.html index 3faa0d6a..e15a8447 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/StubProduct.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/StubProduct.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/StubbingPolicy.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/StubbingPolicy.html index 353997af..c9ccccbb 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/StubbingPolicy.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/StubbingPolicy.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Utils.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Utils.html index b9ce3267..80937d7c 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Utils.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Enums/Utils.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/Int.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/Int.html index 649f1d29..1c53e6e1 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/Int.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/Int.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/Optional.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/Optional.html index c2eac300..29f0705e 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/Optional.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/Optional.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + @@ -337,6 +340,37 @@

    Return Value

    +
    +
      +
    • +
      + + + + isNotNil + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var isNotNil: Bool { get }
      + +
      +
      +
      +
      +
    • +
    +
    • diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/UInt.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/UInt.html index 2d48e6af..4d78cb67 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/UInt.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Extensions/UInt.html @@ -14,7 +14,7 @@
      -

      SwiftyMocky 4.1.0-pre Docs (86% documented)

      +

      SwiftyMocky 4.1.0 Docs (86% documented)

      View on GitHub

      @@ -189,6 +189,9 @@
    • + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Generics.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Generics.html index 9a124ddb..390ce5e3 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Generics.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Generics.html @@ -14,7 +14,7 @@
      -

      SwiftyMocky 4.1.0-pre Docs (86% documented)

      +

      SwiftyMocky 4.1.0 Docs (86% documented)

      View on GitHub

      @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Global methods.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Global methods.html index 2fb5dd22..6cb91e21 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Global methods.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Global methods.html @@ -14,7 +14,7 @@
      -

      SwiftyMocky 4.1.0-pre Docs (86% documented)

      +

      SwiftyMocky 4.1.0 Docs (86% documented)

      View on GitHub

      @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Helpers.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Helpers.html index ea58b478..75ce0329 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Helpers.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Helpers.html @@ -14,7 +14,7 @@
      -

      SwiftyMocky 4.1.0-pre Docs (86% documented)

      +

      SwiftyMocky 4.1.0 Docs (86% documented)

      View on GitHub

      @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Internal.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Internal.html index 288c1261..4c54c664 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Internal.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Internal.html @@ -14,7 +14,7 @@
      -

      SwiftyMocky 4.1.0-pre Docs (86% documented)

      +

      SwiftyMocky 4.1.0 Docs (86% documented)

      View on GitHub

      @@ -189,6 +189,9 @@ + @@ -444,6 +447,45 @@

      Return Value

    +
    + +
      +
    • +
      + + + + OptionalType + +
      +
      +
      +
      +
      +
      +

      Protocol around Optional, allowing additional checks and features on Paramater where value is optional.

      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public protocol OptionalType : ExpressibleByNilLiteral
      + +
      +
      +
      +
      +
    • +
    +
    diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Main Guides.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Main Guides.html index 24e93cde..ed98ed9d 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Main Guides.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Main Guides.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Classes.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Classes.html index 75dcc313..1decdc2b 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Classes.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Classes.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Enums.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Enums.html index bdd2199a..58f372f4 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Enums.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Enums.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Guides.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Guides.html index a3596699..92c7ced5 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Guides.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Guides.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Protocols.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Protocols.html index 840ddb6e..f0c6dd06 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Protocols.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Protocols.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Structs.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Structs.html index 4b0edcd5..c239d146 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Structs.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Other Structs.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/Countable.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/Countable.html index c646900f..58294e7e 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/Countable.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/Countable.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/Mock.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/Mock.html index c2bd077d..529672ea 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/Mock.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/Mock.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/OptionalType.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/OptionalType.html new file mode 100644 index 00000000..ddf84e18 --- /dev/null +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/OptionalType.html @@ -0,0 +1,330 @@ + + + + OptionalType Protocol Reference + + + + + + + + + + +
    +
    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    +

    View on GitHub

    +
    +
    +
    + +
    +
    + +
    +
    +
    +

    OptionalType

    +
    +
    +
    public protocol OptionalType : ExpressibleByNilLiteral
    + +
    +
    +

    Protocol around Optional, allowing additional checks and features on Paramater where value is optional.

    + +
    +
    +
    +
      +
    • +
      + + + + isNotNil + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      var isNotNil: Bool { get }
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + +
    + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/StaticMock.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/StaticMock.html index 9b2c24c7..18b4f371 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/StaticMock.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/StaticMock.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/TypeErasedValue.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/TypeErasedValue.html index b9260ee4..fdeadce2 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/TypeErasedValue.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/TypeErasedValue.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithSequencingPolicy.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithSequencingPolicy.html index b5afdd08..f3eb79d9 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithSequencingPolicy.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithSequencingPolicy.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithStaticSequencingPolicy.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithStaticSequencingPolicy.html index e61a0ec1..16c01ae7 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithStaticSequencingPolicy.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithStaticSequencingPolicy.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithStubbingPolicy.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithStubbingPolicy.html index 7816ab29..ab9cae19 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithStubbingPolicy.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Protocols/WithStubbingPolicy.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/FatalErrorUtil.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/FatalErrorUtil.html index e3af0fdf..bd982636 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/FatalErrorUtil.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/FatalErrorUtil.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/GenericAttribute.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/GenericAttribute.html index 4fa8a783..5ac81d95 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/GenericAttribute.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/GenericAttribute.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/Stubber.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/Stubber.html index 3a460bd5..db773538 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/Stubber.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/Stubber.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/StubberThrows.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/StubberThrows.html index e29c682e..93b6629e 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/StubberThrows.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/StubberThrows.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/TypeErasedAttribute.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/TypeErasedAttribute.html index fd72249c..0a60d9d8 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/TypeErasedAttribute.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Structs/TypeErasedAttribute.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Types.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Types.html index 9f42bb66..02b3686b 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Types.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/Types.html @@ -14,7 +14,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -189,6 +189,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/add-xcode-generate-action.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/add-xcode-generate-action.html index 58db4928..d96c98c9 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/add-xcode-generate-action.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/add-xcode-generate-action.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/changelog.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/changelog.html index 0447f7df..b3d33e1b 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/changelog.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/changelog.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + @@ -295,6 +298,8 @@

    Fixed:

  • Fixed @availability for Swift 5.5
  • Fixed other basic issues and changes for Sourcery 1.6.0
  • Fixed observer setup when test is marked as async
  • +
  • Fixed CLI dependencies (Sergey Kovalenko)
  • +
  • Moved tests from travis to github actions

  • diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/command-line-interface.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/command-line-interface.html index d0d7f399..f12aacb0 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/command-line-interface.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/command-line-interface.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/contents.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/contents.html index 0dcd5666..9cb9d6f0 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/contents.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/contents.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/examples.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/examples.html index d4712478..5a01c876 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/examples.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/examples.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/handling-generics.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/handling-generics.html index 7b63b4d8..7588a620 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/handling-generics.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/handling-generics.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/index.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/index.html index 95314138..10763176 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/index.html @@ -13,7 +13,7 @@
    -

    SwiftyMocky 4.1.0-pre Docs (86% documented)

    +

    SwiftyMocky 4.1.0 Docs (86% documented)

    View on GitHub

    @@ -188,6 +188,9 @@ + @@ -272,12 +275,10 @@
    -

    SwiftyMocky 4.1.0-pre

    -

    logo

    - -

    Join our community on Slack! -> [invitation link here][link-slack]

    +

    SwiftyMocky 4.1.0

    +

    logo

    -

    Check out guides, or full documentation

    +

    Check out guides, or full documentation

    Table of contents

      @@ -286,8 +287,8 @@

      Table of contents

    1. Getting started:
        -
      1. Installing SwiftyMocky CLI
      2. Integrating SwiftyMocky runtime into test target
      3. +
      4. Installation SwiftyMocky CLI
      5. Generate mocks
    2. Usage: @@ -312,9 +313,9 @@

      Table of contents

      Overview

      -

      SwiftyMocky is Lightweight, strongly typed framework for Mockito-like unit testing experience. As Swift doesn’t support reflections well enough to allow building mocks in runtime, library depends on Sourcery, that scans your source code and generates Mocks Swift code for you!

      +

      SwiftyMocky is a strongly typed framework for Mockito-like unit testing experience. Library depends on Sourcery, that scans your source code and generates Mocks Swift code for you!

      -

      The idea of SwiftyMocky is to automatically mock Swift protocols. The main features are:

      +

      The idea of SwiftyMocky is to automatically mock Swift protocols and protocol compositions. The main features are:

      • easy syntax, utilising full power of auto-complete, which makes writing test easier and faster
      • @@ -329,43 +330,31 @@

        Overview

      -

      Important!!! Version 4.x.x

      - -

      Current version has several significant changes. It removes deprecated methods (which might be breaking) and moves CLI to the new repository.

      - -

      We consider current version as stable. We are moving toward using the new Mockfile but the previous configuration format would be still supported. Library works with Swift 4.1, 4.2, 5.0, 5.1.2 and Sourcery 0.17-0.18.

      +

      Important!!! Version 4.1.x

      -

      While it is technically possible to integrate SwiftyMocky on Linux targets, there is no Mock generation feature there yet. You can use SwiftyMokcy runtime via SwiftPM though, as long as your are fine with generating mocks on mac machine.

      +

      CLI was moved bask to the main (this) repo. CLI in this repository will be supported at least until version 5.0.0.

      +

      Version 4.0.x

      -

      -

      Getting started

      +

      Current version has several significant changes. It removes deprecated methods (which might be breaking) and deprecates having CLI in the new repository.

      -

      To start working with SwiftyMocky you need to:

      +

      SwiftyPrototype was also extracted to separate library. There are no more compilation flags, so if you were relying on SwiftyMocky with -DMockyCustom, you will have to switch to SwiftyPrototype.

      -
        -
      1. Install CLI
      2. -
      3. Integrate SwiftyMocky runtime library
      4. -
      5. Generate Mocks and add to your test target
      6. -
      +

      We consider current version as stable. We are moving toward using the new Mockfile but the previous configuration format would be still supported. Library works with Swift 4.1, 4.2, 5.0, 5.1.2 and Sourcery 1.0.x.

      -

      -

      1. Installing SwiftyMocky CLI:

      +

      While it is technically possible to integrate SwiftyMocky on Linux targets, there is no Mock generation feature there yet. You can use SwiftyMokcy runtime via SwiftPM though, as long as your are fine with generating mocks on mac machine.

      +

      Migration from 3.2.0 and below

      -

      Mint 🌱:

      -
      > brew install mint
      -> mint install MakeAWishFoundation/SwiftyMocky-CLI
      -
      +

      The migration is not required, you can keep using SwiftyMocky as you did before. The Legacy setup is described in guides section.

      -

      Marathon 🏃:

      -
      > marathon install MakeAWishFoundation/SwiftyMocky-CLI
      +

      Still, we would encourage to try new CLI and share a feedback. We believe it will make using and setting up SwiftyMocky way easier. If you have an existing setup, install CLI as per this guide and try:

      +
      > swiftymocky migrate
       
      -

      Make:

      - -

      Clone from https://github.com/MakeAWishFoundation/SwiftyMockyCLI and run make in the root directory.

      +

      +

      Getting started

      -

      2. Integrating SwiftyMocky runtime into test target:

      +

      1. Integrating SwiftyMocky:

      CocoaPods:

      @@ -373,6 +362,13 @@

      2. I
      pod "SwiftyMocky"
       
      +

      Use CLI tool from your project directory:

      +
      # To setup initial Mockfile
      +% ./Pods/SwiftyMocky/bin/swiftymocky init
      +# To generate mocks
      +% ./Pods/SwiftyMocky/bin/swiftymocky generate
      +
      +

      Carthage:

      To install, add following to you Cartfile:

      @@ -381,34 +377,56 @@

      2. I

      Then execute carthage update

      -

      For Carthage, few additional steps are required ⚠️. For detailed install instructions, see full documentation or consult [Carthage documentation][carthage-adding-framework].

      +

      For Carthage, few additional steps are required ⚠️. For detailed install instructions, see full documentation or consult [Carthage documentation][carthage-adding-framework].

      + +

      You need to install CLI to generate mocks - see installation

      Swift Package Manager:

      Add SwiftyMocky to you Package.swift dependencies:

      dependencies: [
      -    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0-pre"),
      +    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0"),
       ]
       
      +

      You need to install CLI to generate mocks - see installation

      +

      Note: Examples of SwiftyMocky integration as a tool for Unit tests, as well as a Prototyping framework, are here: https://github.com/MakeAWishFoundation/SM-Integration-Tests

      +

      +

      2. Installing SwiftyMocky CLI:

      + +

      Mint 🌱:

      +
      > brew install mint
      +> mint install MakeAWishFoundation/SwiftyMocky
      +
      + +

      Marathon 🏃:

      +
      > marathon install MakeAWishFoundation/SwiftyMocky
      +
      + +

      Make:

      + +

      Clone from https://github.com/MakeAWishFoundation/SwiftyMockyCLI and run make in the root directory.

      + +
      +

      3. Generate mocks

      Annotate your protocols that are going to be mocked, making them adopt AutoMockable protocol, or adding annotation comment above their definition in the source code.

      -

      Mocks are generated from your project root directory, based on configuration inside Mockfile.

      +

      Mocks are generated from your project root directory, based on configuration inside Mockfile.

      > swiftymocky setup     # if you don't have a Mockfile yet
       > swiftymocky doctor    # validate your setup
       > swiftymocky generate  # generate mocks
       
      -

      More informations about CLI and mock generation

      +

      More informations about CLI and mock generation

      -

      If you don’t want to migrate to our CLI and prefer to use raw Sourcery, please refer to this section in documentation.

      +

      If you don’t want to migrate to our CLI and prefer to use raw Sourcery, please refer to this section in documentation.

      Usage

      @@ -465,7 +483,7 @@

      3. Check invocations of methods, subscripts and properties - Verify

      @@ -528,21 +546,21 @@

      Documentation

      -

      Full documentation is available here, as well as through docs directory.

      +

      Full documentation is available here, as well as through docs directory.

      -

      Guides - Table of contents

      +

      Guides - Table of contents

      -

      Changelog is available here

      +

      Changelog is available here

      All supported features

      -

      For list all supported features, check documentation here or [guides][link-guides-features]

      +

      For list all supported features, check documentation here or [guides][link-guides-features]

      Examples of usage

      -

      For more examples, check out our example project, or examples section in guides.

      +

      For more examples, check out our example project, or examples section in guides.

      To run the example project, clone the repo, and run pod install from the Example directory first.

      diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/installation.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/installation.html index 19df0679..9aa9df99 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/installation.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/installation.html @@ -13,7 +13,7 @@
      -

      SwiftyMocky 4.1.0-pre Docs (86% documented)

      +

      SwiftyMocky 4.1.0 Docs (86% documented)

      View on GitHub

      @@ -188,6 +188,9 @@ + @@ -281,11 +284,11 @@

      SwiftyMocky CLI

      Mint 🌱:

      > brew install mint
      -> mint install MakeAWishFoundation/SwiftyMocky-CLI
      +> mint install MakeAWishFoundation/SwiftyMocky
       

      Marathon 🏃:

      -
      > marathon install MakeAWishFoundation/SwiftyMocky-CLI
      +
      > marathon install MakeAWishFoundation/SwiftyMocky
       

      Make:

      @@ -345,7 +348,7 @@

      SwiftyMocky 4.1.0-pre

      -

      logo

      - -

      Join our community on Slack! -> [invitation link here][link-slack]

      +

      SwiftyMocky 4.1.0

      +

      logo

      -

      Check out guides, or full documentation

      +

      Check out guides, or full documentation

      Table of contents

        @@ -286,8 +287,8 @@

        Table of contents

      1. Getting started:
          -
        1. Installing SwiftyMocky CLI
        2. Integrating SwiftyMocky runtime into test target
        3. +
        4. Installation SwiftyMocky CLI
        5. Generate mocks
      2. Usage: @@ -312,9 +313,9 @@

        Table of contents

        Overview

        -

        SwiftyMocky is Lightweight, strongly typed framework for Mockito-like unit testing experience. As Swift doesn’t support reflections well enough to allow building mocks in runtime, library depends on Sourcery, that scans your source code and generates Mocks Swift code for you!

        +

        SwiftyMocky is a strongly typed framework for Mockito-like unit testing experience. Library depends on Sourcery, that scans your source code and generates Mocks Swift code for you!

        -

        The idea of SwiftyMocky is to automatically mock Swift protocols. The main features are:

        +

        The idea of SwiftyMocky is to automatically mock Swift protocols and protocol compositions. The main features are:

        • easy syntax, utilising full power of auto-complete, which makes writing test easier and faster
        • @@ -329,43 +330,31 @@

          Overview

        -

        Important!!! Version 4.x.x

        - -

        Current version has several significant changes. It removes deprecated methods (which might be breaking) and moves CLI to the new repository.

        - -

        We consider current version as stable. We are moving toward using the new Mockfile but the previous configuration format would be still supported. Library works with Swift 4.1, 4.2, 5.0, 5.1.2 and Sourcery 0.17-0.18.

        +

        Important!!! Version 4.1.x

        -

        While it is technically possible to integrate SwiftyMocky on Linux targets, there is no Mock generation feature there yet. You can use SwiftyMokcy runtime via SwiftPM though, as long as your are fine with generating mocks on mac machine.

        +

        CLI was moved bask to the main (this) repo. CLI in this repository will be supported at least until version 5.0.0.

        +

        Version 4.0.x

        -

        -

        Getting started

        +

        Current version has several significant changes. It removes deprecated methods (which might be breaking) and deprecates having CLI in the new repository.

        -

        To start working with SwiftyMocky you need to:

        +

        SwiftyPrototype was also extracted to separate library. There are no more compilation flags, so if you were relying on SwiftyMocky with -DMockyCustom, you will have to switch to SwiftyPrototype.

        -
          -
        1. Install CLI
        2. -
        3. Integrate SwiftyMocky runtime library
        4. -
        5. Generate Mocks and add to your test target
        6. -
        +

        We consider current version as stable. We are moving toward using the new Mockfile but the previous configuration format would be still supported. Library works with Swift 4.1, 4.2, 5.0, 5.1.2 and Sourcery 1.0.x.

        -

        -

        1. Installing SwiftyMocky CLI:

        +

        While it is technically possible to integrate SwiftyMocky on Linux targets, there is no Mock generation feature there yet. You can use SwiftyMokcy runtime via SwiftPM though, as long as your are fine with generating mocks on mac machine.

        +

        Migration from 3.2.0 and below

        -

        Mint 🌱:

        -
        > brew install mint
        -> mint install MakeAWishFoundation/SwiftyMocky-CLI
        -
        +

        The migration is not required, you can keep using SwiftyMocky as you did before. The Legacy setup is described in guides section.

        -

        Marathon 🏃:

        -
        > marathon install MakeAWishFoundation/SwiftyMocky-CLI
        +

        Still, we would encourage to try new CLI and share a feedback. We believe it will make using and setting up SwiftyMocky way easier. If you have an existing setup, install CLI as per this guide and try:

        +
        > swiftymocky migrate
         
        -

        Make:

        - -

        Clone from https://github.com/MakeAWishFoundation/SwiftyMockyCLI and run make in the root directory.

        +

        +

        Getting started

        -

        2. Integrating SwiftyMocky runtime into test target:

        +

        1. Integrating SwiftyMocky:

        CocoaPods:

        @@ -373,6 +362,13 @@

        2. I
        pod "SwiftyMocky"
         
        +

        Use CLI tool from your project directory:

        +
        # To setup initial Mockfile
        +% ./Pods/SwiftyMocky/bin/swiftymocky init
        +# To generate mocks
        +% ./Pods/SwiftyMocky/bin/swiftymocky generate
        +
        +

        Carthage:

        To install, add following to you Cartfile:

        @@ -381,34 +377,56 @@

        2. I

        Then execute carthage update

        -

        For Carthage, few additional steps are required ⚠️. For detailed install instructions, see full documentation or consult [Carthage documentation][carthage-adding-framework].

        +

        For Carthage, few additional steps are required ⚠️. For detailed install instructions, see full documentation or consult [Carthage documentation][carthage-adding-framework].

        + +

        You need to install CLI to generate mocks - see installation

        Swift Package Manager:

        Add SwiftyMocky to you Package.swift dependencies:

        dependencies: [
        -    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0-pre"),
        +    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0"),
         ]
         
        +

        You need to install CLI to generate mocks - see installation

        +

        Note: Examples of SwiftyMocky integration as a tool for Unit tests, as well as a Prototyping framework, are here: https://github.com/MakeAWishFoundation/SM-Integration-Tests

        +

        +

        2. Installing SwiftyMocky CLI:

        + +

        Mint 🌱:

        +
        > brew install mint
        +> mint install MakeAWishFoundation/SwiftyMocky
        +
        + +

        Marathon 🏃:

        +
        > marathon install MakeAWishFoundation/SwiftyMocky
        +
        + +

        Make:

        + +

        Clone from https://github.com/MakeAWishFoundation/SwiftyMockyCLI and run make in the root directory.

        + +
        +

        3. Generate mocks

        Annotate your protocols that are going to be mocked, making them adopt AutoMockable protocol, or adding annotation comment above their definition in the source code.

        -

        Mocks are generated from your project root directory, based on configuration inside Mockfile.

        +

        Mocks are generated from your project root directory, based on configuration inside Mockfile.

        > swiftymocky setup     # if you don't have a Mockfile yet
         > swiftymocky doctor    # validate your setup
         > swiftymocky generate  # generate mocks
         
        -

        More informations about CLI and mock generation

        +

        More informations about CLI and mock generation

        -

        If you don’t want to migrate to our CLI and prefer to use raw Sourcery, please refer to this section in documentation.

        +

        If you don’t want to migrate to our CLI and prefer to use raw Sourcery, please refer to this section in documentation.

        Usage

        @@ -465,7 +483,7 @@

        3. Check invocations of methods, subscripts and properties - Verify

        @@ -528,21 +546,21 @@

        Documentation

        -

        Full documentation is available here, as well as through docs directory.

        +

        Full documentation is available here, as well as through docs directory.

        -

        Guides - Table of contents

        +

        Guides - Table of contents

        -

        Changelog is available here

        +

        Changelog is available here

        All supported features

        -

        For list all supported features, check documentation here or [guides][link-guides-features]

        +

        For list all supported features, check documentation here or [guides][link-guides-features]

        Examples of usage

        -

        For more examples, check out our example project, or examples section in guides.

        +

        For more examples, check out our example project, or examples section in guides.

        To run the example project, clone the repo, and run pod install from the Example directory first.

        diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/prototyping.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/prototyping.html index 24ab1a1a..1b12c292 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/prototyping.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/prototyping.html @@ -13,7 +13,7 @@
        -

        SwiftyMocky 4.1.0-pre Docs (86% documented)

        +

        SwiftyMocky 4.1.0 Docs (86% documented)

        View on GitHub

        @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/search.json b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/search.json index 2745b158..4862a2d6 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/search.json +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV5valueypvp":{"name":"value","abstract":"

        [internal] Returned value

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV8intValueSivp":{"name":"intValue","abstract":"

        [internal] Used to describe attribute generocity (0 is general, 1 is specific)

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

        [internal] Used to compare with other attribute

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

        [internal] Used for formatting messages.

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV5value8intValue16shortDescription7compareACyp_SiSSSbyp_ypAA7MatcherCtctcfc":{"name":"init(value:intValue:shortDescription:compare:)","abstract":"

        [internal] Creates new TypeErasedAttribute instance, with specified return value and compare closure

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html":{"name":"TypeErasedAttribute","abstract":"

        [Internal] Used to wrap availability constrained attributes, since enum cases used ubternally to"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP5valueypvp":{"name":"value","abstract":"

        [internal] Returned value

        ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP03intE0Sivp":{"name":"intValue","abstract":"

        [internal] Used to describe attribute generocity (0 is general, 1 is specific)

        ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

        [internal] Used to compare with other generic attributes values

        ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

        [internal] Used for formatting messages.

        ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html":{"name":"TypeErasedValue","abstract":"

        [Internal] Used as generic constraint for generic method stubs.

        "},"Enums/Utils.html#/s:11SwiftyMocky5UtilsO19closestCallsMessage3for4nameSSSayAA7MatcherC16ComparisonResultVG_SStFZ":{"name":"closestCallsMessage(for:name:)","abstract":"

        Undocumented

        ","parent_name":"Utils"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO10invocationyA2CmF":{"name":"invocation","abstract":"

        Undocumented

        ","parent_name":"MockScope"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO5givenyA2CmF":{"name":"given","abstract":"

        Undocumented

        ","parent_name":"MockScope"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO7performyA2CmF":{"name":"perform","abstract":"

        Undocumented

        ","parent_name":"MockScope"},"Enums/MockScope.html":{"name":"MockScope","abstract":"

        Undocumented

        "},"Enums/Utils.html":{"name":"Utils","abstract":"

        Undocumented

        "},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC5valuexSgvp":{"name":"value","abstract":"

        Last captured value (if any)

        ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC9allValuesSayxGvp":{"name":"allValues","abstract":"

        All captured values

        ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorCACyxGycfc":{"name":"init()","abstract":"

        Undocumented

        ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC7capture5whereAA9ParameterOyxGSbxcSg_tF":{"name":"capture(where:)","abstract":"

        Return parameter matcher which captures the argument.

        ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html":{"name":"ArgumentCaptor","abstract":"

        Undocumented

        "},"contents.html":{"name":"Contents"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC7isValidSbvp":{"name":"isValid","abstract":"

        [Internal] Returns whether there are still products to be used as stub return values

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

        [Internal] Stubbing policy. By default uses parent mock policy

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodCyACSayAA11StubProductOGcfc":{"name":"init(_:)","abstract":"

        [Internal] Creates new method init with given products.

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC10getProduct6policyAA04StubF0OAA14StubbingPolicyO_tF":{"name":"getProduct(policy:)","abstract":"

        [Internal] Get next product, with respect to self.policy and inherited policy

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC4stub3forAA7StubberVyxGxm_tlF":{"name":"stub(for:)","abstract":"

        [Internal] New instance of stubber class, used to populate products array

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC10stubThrows3forAA07StubberF0VyxGxm_tlF":{"name":"stubThrows(for:)","abstract":"

        [Internal] New instance of stubber class, used to populate products array

        ","parent_name":"StubbedMethod"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO6returnyACypcACmF":{"name":"return(_:)","abstract":"

        Undocumented

        ","parent_name":"StubProduct"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO5throwyACs5Error_pcACmF":{"name":"throw(_:)","abstract":"

        Undocumented

        ","parent_name":"StubProduct"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO6castedxyKlF":{"name":"casted()","abstract":"

        [Internal] If self is returns, and nested value can be casted to T, returns value. Can fail (fatalError)

        ","parent_name":"StubProduct"},"Enums/MockError.html#/s:11SwiftyMocky9MockErrorO9notStubedyA2CmF":{"name":"notStubed","abstract":"

        Undocumented

        ","parent_name":"MockError"},"Extensions/UInt.html#/s:Su11SwiftyMockyE7matchesySbSiF":{"name":"matches(_:)","abstract":"

        Returns whether given count matches countable case.

        ","parent_name":"UInt"},"Extensions/Optional.html#/s:Sq11SwiftyMockyE6orFailyxSSF":{"name":"orFail(_:)","abstract":"

        Returns unwrapped value, or fails.

        ","parent_name":"Optional"},"Extensions/Optional.html#/s:s26ExpressibleByStringLiteralP0cD4TypeQa":{"name":"StringLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP0cdeF4TypeQa":{"name":"ExtendedGraphemeClusterLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s33ExpressibleByUnicodeScalarLiteralP0cdE4TypeQa":{"name":"UnicodeScalarLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP08extendeddeF0x0cdeF4TypeQz_tcfc":{"name":"init(extendedGraphemeClusterLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s33ExpressibleByUnicodeScalarLiteralP07unicodedE0x0cdE4TypeQz_tcfc":{"name":"init(unicodeScalarLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByIntegerLiteralP0cD4TypeQa":{"name":"IntegerLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByBooleanLiteralP0cD4TypeQa":{"name":"BooleanLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByBooleanLiteralP07booleanD0x0cD4TypeQz_tcfc":{"name":"init(booleanLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByFloatLiteralP0cD4TypeQa":{"name":"FloatLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc":{"name":"init(floatLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByArrayLiteralP0cD7ElementQa":{"name":"ArrayLiteralElement","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc":{"name":"init(arrayLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP3KeyQa":{"name":"Key","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP5ValueQa":{"name":"Value","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP010dictionaryD0x3KeyQz_5ValueQztd_tcfc":{"name":"init(dictionaryLiteral:)","parent_name":"Optional"},"Extensions/Int.html#/s:Si11SwiftyMockyE7matchesySbSiF":{"name":"matches(_:)","abstract":"

        Returns whether given count matches countable case.

        ","parent_name":"Int"},"Protocols/WithStubbingPolicy.html#/s:11SwiftyMocky18WithStubbingPolicyP6policyAA0dE0Ovp":{"name":"policy","abstract":"

        Stubbing policy

        ","parent_name":"WithStubbingPolicy"},"Protocols/WithStubbingPolicy.html#/s:11SwiftyMocky18WithStubbingPolicyP4withyxAA0dE0OF":{"name":"with(_:)","abstract":"

        [Internal] with new policy

        ","parent_name":"WithStubbingPolicy"},"Protocols/WithStaticSequencingPolicy.html#/s:11SwiftyMocky26WithStaticSequencingPolicyP010sequencingF0AA0eF0OvpZ":{"name":"sequencingPolicy","abstract":"

        Used sequencibg policy

        ","parent_name":"WithStaticSequencingPolicy"},"Protocols/WithSequencingPolicy.html#/s:11SwiftyMocky20WithSequencingPolicyP010sequencingE0AA0dE0Ovp":{"name":"sequencingPolicy","abstract":"

        Used sequencibg policy

        ","parent_name":"WithSequencingPolicy"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV3setyys5NeverOSScFZ":{"name":"set(_:)","abstract":"

        [Internal] Override handling error handler

        ","parent_name":"FatalErrorUtil"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV7restoreyyFZ":{"name":"restore()","abstract":"

        [Internal] Restores default handler

        ","parent_name":"FatalErrorUtil"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV05fatalD0ys5NeverOSSFZ":{"name":"fatalError(_:)","abstract":"

        [Internal] Perform fatal error handler

        ","parent_name":"FatalErrorUtil"},"Classes/SwiftyMockyTestObserver.html#/setup()":{"name":"setup()","abstract":"

        [Internal] No setup whatsoever

        ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/handleFatalError(message:file:line:)":{"name":"handleFatalError(message:file:line:)","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/s:11SwiftyMocky0aB12TestObserverC5setupyyFZ":{"name":"setup()","abstract":"

        Call this method to setup custom error handling for SwiftyMocky, that allows to gracefully handle missing stub fatal errors.","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/c:@M@SwiftyMocky@objc(cs)SwiftyMockyTestObserver(im)testCaseWillStart:":{"name":"testCaseWillStart(_:)","abstract":"

        [Internal] Observer for test start

        ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/c:@M@SwiftyMocky@objc(cs)SwiftyMockyTestObserver(im)testCaseDidFinish:":{"name":"testCaseDidFinish(_:)","abstract":"

        [Internal] Observer for test finished

        ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/s:11SwiftyMocky0aB12TestObserverC16handleFatalError7message4file4lineySS_s12StaticStringVSutFZ":{"name":"handleFatalError(message:file:line:)","abstract":"

        [Internal] used to notify about internal error. Do not call it directly.

        ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html":{"name":"SwiftyMockyTestObserver"},"Structs/FatalErrorUtil.html":{"name":"FatalErrorUtil","abstract":"

        [Internal] Used for handling fatal errors inside library.

        "},"Protocols/WithSequencingPolicy.html":{"name":"WithSequencingPolicy","abstract":"

        Has sequencing policy for stubbing methods

        "},"Protocols/WithStaticSequencingPolicy.html":{"name":"WithStaticSequencingPolicy","abstract":"

        Has sequencing policy for stubbing static methods

        "},"Protocols/WithStubbingPolicy.html":{"name":"WithStubbingPolicy","abstract":"

        [Internal] used for marking that stubs have configurable policy

        "},"Extensions/Int.html":{"name":"Int"},"Extensions/Optional.html":{"name":"Optional"},"Extensions/UInt.html":{"name":"UInt"},"Enums/MockError.html":{"name":"MockError","abstract":"

        [Internal] Generic Mock library errors

        "},"Enums/StubProduct.html":{"name":"StubProduct","abstract":"

        [Internal] Possible Given products. Method can either return or throw an error (in general)

        "},"Classes/StubbedMethod.html":{"name":"StubbedMethod","abstract":"

        [Internal] Allows to reduce Mock.generated.swif size, by moving part of implementation here.

        "},"Internal.html#/s:11SwiftyMocky7Failureys5NeverOSSF":{"name":"Failure(_:)","abstract":"

        [Internal] Fails flow with given message

        "},"Internal.html#/s:11SwiftyMocky0B6Assert__4file4lineySbyXK_SSyXKs12StaticStringVSutF":{"name":"MockyAssert(_:_:file:line:)","abstract":"

        [internal] Assertion used by mocks and Verify methods

        "},"Classes/MockyAssertion.html#/s:11SwiftyMocky0B9AssertionC7handlerySb_SSs12StaticStringVSutcSgvpZ":{"name":"handler","abstract":"

        You can use it to define assertion behaviour.","parent_name":"MockyAssertion"},"Helpers.html#/s:11SwiftyMocky20XCTAssertThrowsError_2of_4file4lineyxyKXK_q_mSSyXKs12StaticStringVSuts0E0R_r0_lF":{"name":"XCTAssertThrowsError(_:of:_:file:line:)","abstract":"

        Allows to verify if error was thrown, and if it is of given type.

        "},"Helpers.html#/s:11SwiftyMocky20XCTAssertThrowsError_5error_4file4lineyxyKXK_q_SSyXKs12StaticStringVSutSQR_s0E0R_r0_lF":{"name":"XCTAssertThrowsError(_:error:_:file:line:)","abstract":"

        Allows to verify if error was throws, and if its exactly the one expected.

        "},"Classes/MockyAssertion.html":{"name":"MockyAssertion","abstract":"

        You can use this class if there is need to define custom"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV5valueypvp":{"name":"value","abstract":"

        [internal] Returned value

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV8intValueSivp":{"name":"intValue","abstract":"

        [internal] Used to describe attribute generocity (0 is general, 1 is specific)

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

        [internal] Used to compare with other generic attributes

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

        [internal] Used for formatting messages.

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV5value8intValue16shortDescription7compareACyp_SiSSSbyp_ypAA7MatcherCtctcfc":{"name":"init(value:intValue:shortDescription:compare:)","abstract":"

        [internal] Creates new GenericAttribute instance, with specified return value and compare closure

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html":{"name":"GenericAttribute","abstract":"

        [Internal] Used to wrap generic parameters, for sake of generic method stubs.

        "},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

        Stubbing policy. If wrap - it will iterate over recorded values. If drop - it will remove value when stub returns. If default - it will use mock settings

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV_9returningACyxGAA13StubbedMethodC_xmtcfc":{"name":"init(_:returning:)","abstract":"

        [Internal] New instance of stubber class, used to populate products array

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6returnyyxF":{"name":"return(_:)","abstract":"

        Record return value

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6returnyyxd_tF":{"name":"return(_:)","abstract":"

        Record subsequent return values, in given order (comma separated)

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV5throwyys5Error_pF":{"name":"throw(_:)","abstract":"

        Record thrown error

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV5throwyys5Error_pd_tF":{"name":"throw(_:)","abstract":"

        Record subsequent thrown errors, in given order (comma separated)

        ","parent_name":"StubberThrows"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

        Stubbing policy. If wrap - it will iterate over recorded values. If drop - it will remove value when stub returns. If default - it will use mock settings

        ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV_9returningACyxGAA13StubbedMethodC_xmtcfc":{"name":"init(_:returning:)","abstract":"

        [Internal] New instance of stubber class, used to populate products array

        ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6returnyyxF":{"name":"return(_:)","abstract":"

        Record return value

        ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6returnyyxd_tF":{"name":"return(_:)","abstract":"

        Record subsequent return values, in given order (comma separated)

        ","parent_name":"Stubber"},"Enums/Count.html#/s:11SwiftyMocky5CountO21CustomMatchingClosurea":{"name":"CustomMatchingClosure","abstract":"

        Count matching closure

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO18IntegerLiteralTypea":{"name":"IntegerLiteralType","abstract":"

        [Internal] Count is represented by integer literals, with type Int

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11atLeastOnceyA2CmF":{"name":"atLeastOnce","abstract":"

        Called at least once

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4onceyA2CmF":{"name":"once","abstract":"

        Called exactly once

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO6customyACSbSiccACmF":{"name":"custom(_:)","abstract":"

        Custom count resolving closure

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO7exactlyyACSicACmF":{"name":"exactly(_:)","abstract":"

        Called exactly n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4fromyACSi_SitcACmF":{"name":"from(_:to:)","abstract":"

        Called in a…b range

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4lessyACSi_tcACmF":{"name":"less(than:)","abstract":"

        Called less than n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11lessOrEqualyACSi_tcACmF":{"name":"lessOrEqual(to:)","abstract":"

        Called less than ot equal to n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4moreyACSi_tcACmF":{"name":"more(than:)","abstract":"

        Called more than n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11moreOrEqualyACSi_tcACmF":{"name":"moreOrEqual(to:)","abstract":"

        Called more than ot equal to n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO5neveryA2CmF":{"name":"never","abstract":"

        Never called

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO14integerLiteralACSi_tcfc":{"name":"init(integerLiteral:)","abstract":"

        Creates new count instance, matching specific count

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11descriptionSSvp":{"name":"description","abstract":"

        Human readable description

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO7matchesySbSiF":{"name":"matches(_:)","abstract":"

        Returns whether given count matches countable case.

        ","parent_name":"Count"},"Protocols/Countable.html#/s:11SwiftyMocky9CountableP7matchesySbSiF":{"name":"matches(_:)","abstract":"

        Returns whether given count matches countable case.

        ","parent_name":"Countable"},"Classes/Matcher/ParameterComparisonResult.html#/s:11SwiftyMocky7MatcherC25ParameterComparisonResultVyAESb_AA0D0OyxGAGyq_GSStcr0_lufc":{"name":"init(_:_:_:_:)","abstract":"

        Undocumented

        ","parent_name":"ParameterComparisonResult"},"Classes/Matcher/ParameterComparisonResult.html#/s:11SwiftyMocky7MatcherC25ParameterComparisonResultV12resultStringSSvp":{"name":"resultString","abstract":"

        Undocumented

        ","parent_name":"ParameterComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7matchedSivp":{"name":"matched","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV5totalSivp":{"name":"total","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7resultsSayAC09ParameterdE0VGvp":{"name":"results","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV10percentageSfvp":{"name":"percentage","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV16percentageStringSSvp":{"name":"percentageString","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV11isFullMatchSbvp":{"name":"isFullMatch","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7isMatchSbvp":{"name":"isMatch","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultVyAESayAC09ParameterdE0VGcfc":{"name":"init(_:)","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7matched5totalAESi_Sitcfc":{"name":"init(matched:total:)","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV5matchAEvpZ":{"name":"match","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV4noneAEvpZ":{"name":"none","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV12resultStringySSSi_SStF":{"name":"resultString(_:_:)","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC7defaultACvpZ":{"name":"default","abstract":"

        Shared Matcher instance

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC17fatalErrorHandleryySS_s12StaticStringVSutcvpZ":{"name":"fatalErrorHandler","abstract":"

        [Internal] matcher fatal error handler

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherCACycfc":{"name":"init()","abstract":"

        Create new clean matcher instance.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC7matcherA2C_tcfc":{"name":"init(matcher:)","abstract":"

        Creante new matcher instance, copying existing comparator from another instance.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC3set4file4lineys12StaticStringVSg_SuSgtF":{"name":"set(file:line:)","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC23setupCorrentFileAndLine4file4lineys12StaticStringV_SutF":{"name":"setupCorrentFileAndLine(file:line:)","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC16clearFileAndLineyyF":{"name":"clearFileAndLine()","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC14onFatalFailureyySSF":{"name":"onFatalFailure(_:)","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8register_5matchyxm_Sbx_xtctlF":{"name":"register(_:match:)","abstract":"

        Registers comparator for given type T.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8registeryyxmmlF":{"name":"register(_:)","abstract":"

        Registers comparator for type, like comparing Int.self to Int.self. These types of comparators always returns true. Register like: Matcher.default.register(CustomType.Type.self)

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8registeryyxmSQRzlF":{"name":"register(_:)","abstract":"

        Register default comparatot for Equatable types. Required for generic mocks to work.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tlF":{"name":"comparator(for:)","abstract":"

        Returns comparator closure for given type (if any).

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSTRzlF":{"name":"comparator(for:)","abstract":"

        Default Sequence comparator, compares count, and then depending on sequence type:

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSQRzlF":{"name":"comparator(for:)","abstract":"

        Default Equatable comparator, compares if elements are equal.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSQRzSTRzlF":{"name":"comparator(for:)","abstract":"

        Default Equatable Sequence comparator, compares count, and then for every element equal element.

        ","parent_name":"Matcher"},"Classes/Matcher/ComparisonResult.html":{"name":"ComparisonResult","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher/ParameterComparisonResult.html":{"name":"ParameterComparisonResult","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO1_yACyxGAEmlF":{"name":"_","abstract":"

        Wildcard - any value

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO5valueyACyxGxcAEmlF":{"name":"value(_:)","abstract":"

        Explicit value

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO8matchingyACyxGSbxccAEmlF":{"name":"matching(_:)","abstract":"

        Any value matching

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3anyACyxGvpZ":{"name":"any","abstract":"

        Represents and matches any parameter value - syntactic sugar for ._ case.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3anyyACyqd__Gqd__mlFZ":{"name":"any(_:)","abstract":"

        Represents and matches any parameter value - syntactic sugar for ._ case. Used, when needs to explicitely specify","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

        Undocumented

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAARlzClE12sameInstance2asACyxGqd___tRld__ClFZ":{"name":"sameInstance(as:)","abstract":"

        Represents and matches values on an same instance basis.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAARlzClE10isInstance2ofACyxGqd__m_tRld__ClFZ":{"name":"isInstance(of:)","abstract":"

        Represents and matches whether parameter is of specific type, using is operator.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3allyACyxGAEd_tFZ":{"name":"all(_:)","abstract":"

        Allows combining multiple Parameter constraints into one Parameter constraint.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOA2A15TypeErasedValueRzlE03intF0Sivp":{"name":"intValue","abstract":"

        Used for invocations sorting purpose.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO8intValueSivp":{"name":"intValue","abstract":"

        Used for invocations sorting purpose.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:s26ExpressibleByStringLiteralP0cD4TypeQa":{"name":"StringLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP0cdeF4TypeQa":{"name":"ExtendedGraphemeClusterLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s33ExpressibleByUnicodeScalarLiteralP0cdE4TypeQa":{"name":"UnicodeScalarLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP08extendeddeF0x0cdeF4TypeQz_tcfc":{"name":"init(extendedGraphemeClusterLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s33ExpressibleByUnicodeScalarLiteralP07unicodedE0x0cdE4TypeQz_tcfc":{"name":"init(unicodeScalarLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s23ExpressibleByNilLiteralP03nilD0xyt_tcfc":{"name":"init(nilLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByIntegerLiteralP0cD4TypeQa":{"name":"IntegerLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByBooleanLiteralP0cD4TypeQa":{"name":"BooleanLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByBooleanLiteralP07booleanD0x0cD4TypeQz_tcfc":{"name":"init(booleanLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByFloatLiteralP0cD4TypeQa":{"name":"FloatLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc":{"name":"init(floatLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByArrayLiteralP0cD7ElementQa":{"name":"ArrayLiteralElement","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc":{"name":"init(arrayLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP3KeyQa":{"name":"Key","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP5ValueQa":{"name":"Value","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP010dictionaryD0x3KeyQz_5ValueQztd_tcfc":{"name":"init(dictionaryLiteral:)","parent_name":"Parameter"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C5GivenQa":{"name":"StaticGiven","abstract":"

        Stubbed method and property type

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C6VerifyQa":{"name":"StaticVerify","abstract":"

        Verification type

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C7PerformQa":{"name":"StaticPerform","abstract":"

        Perform type

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP5givenyy0C5GivenQzFZ":{"name":"given(_:)","abstract":"

        Registers return value for stubbed method, for specified attributes set.

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP7performyy0C7PerformQzFZ":{"name":"perform(_:)","abstract":"

        Registers perform closure, which will be executed upon calling stubbed method, for specified attribtes.

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP6verify_5count4file4liney0C6VerifyQz_AA5CountOs0C6StringVSutFZ":{"name":"verify(_:count:file:line:)","abstract":"

        Verifies, that given method stub was called exact number of times.

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP05resetD0yyAA0D5ScopeOd_tFZ":{"name":"resetMock(_:)","abstract":"

        Clear mock internals. You can specify what to clear (invocations aka verify, givens or performs)","parent_name":"StaticMock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP5GivenQa":{"name":"Given","abstract":"

        Stubbed method and property type

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP6VerifyQa":{"name":"Verify","abstract":"

        Verification type

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP7PerformQa":{"name":"Perform","abstract":"

        Perform type

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP5givenyy5GivenQzF":{"name":"given(_:)","abstract":"

        Registers return value for stubbed method, for specified attributes set.

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP7performyy7PerformQzF":{"name":"perform(_:)","abstract":"

        Registers perform closure, which will be executed upon calling stubbed method, for specified attribtes.

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP6verify_5count4file4liney6VerifyQz_AA5CountOs12StaticStringVSutF":{"name":"verify(_:count:file:line:)","abstract":"

        Verifies, that given method stub was called exact number of times.

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP05resetC0yyAA0C5ScopeOd_tF":{"name":"resetMock(_:)","abstract":"

        Clear mock internals. You can specify what to clear (invocations aka verify, givens or performs)","parent_name":"Mock"},"Protocols/Mock.html":{"name":"Mock","abstract":"

        Every generated mock implementation adopts Mock protocol."},"Protocols/StaticMock.html":{"name":"StaticMock","abstract":"

        Every mock, that stubs static methods, should adopt StaticMock protocol."},"Enums/Parameter.html":{"name":"Parameter","abstract":"

        Parameter wraps method attribute, allowing to make a difference between explicit value,"},"Classes/Matcher.html":{"name":"Matcher","abstract":"

        Matcher is container class, responsible for storing and resolving comparators for given types.

        "},"Protocols/Countable.html":{"name":"Countable","abstract":"

        Allows matching count, verifying whether given count is right or not

        "},"Enums/Count.html":{"name":"Count","abstract":"

        Count enum. Use it for all Verify features, when checking how many times something happened.

        "},"Structs/Stubber.html":{"name":"Stubber","abstract":"

        Used to populate stubbed method with sequence of events. Call it’s methods, to record subsequent stub return values.

        "},"Structs/StubberThrows.html":{"name":"StubberThrows","abstract":"

        Used to populate stubbed method with sequence of events. Call it’s methods, to record subsequent stub return/throw values.

        "},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO24lastWrittenResolvedFirstyA2CmF":{"name":"lastWrittenResolvedFirst","abstract":"

        Default policy. Last given overrides previous, if they are both with same generocity level

        ","parent_name":"SequencingPolicy"},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO14inWritingOrderyA2CmF":{"name":"inWritingOrder","abstract":"

        Givens would be recalled in order of generocity, respecting writing order (first line resolved first)

        ","parent_name":"SequencingPolicy"},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO6sorted_2bySayxGAF_Sbx_xtXEtlF":{"name":"sorted(_:by:)","abstract":"

        [Internal] Sorts stub return values / errors throw with respect to ordering rule and policy

        ","parent_name":"SequencingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO7defaultyA2CmF":{"name":"default","abstract":"

        Use current policy specified for Mock method type

        ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4wrapyA2CmF":{"name":"wrap","abstract":"

        Default policy in general. When reaching end of sequence of events, index will rewind to beginning (looping)

        ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4dropyA2CmF":{"name":"drop","abstract":"

        With this policy, every call drops event. When events count reaches zero, given is removed from mock.

        ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4realyA2CF":{"name":"real(_:)","abstract":"

        [Internal] Resolves used policy. If self is default, will use inherited, otherwise self

        ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO7updated_4withS2i_SitF":{"name":"updated(_:with:)","abstract":"

        [Internal] Computes new index for stubs array. For wrap will rewind if out of bounds, for drop will not.","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html":{"name":"StubbingPolicy","abstract":"

        Given Policy for treating sequence of events (products). Used to determine if stub return values should be consumed"},"Enums/SequencingPolicy.html":{"name":"SequencingPolicy","abstract":"

        Sequencing policy - in which order Given would be resolved. Pleas ehve in mind that this policy is applied ONLY after"},"Global%20methods.html#/s:11SwiftyMocky5Givenyyx_ABQzAA14StubbingPolicyOtAA4MockRzlF":{"name":"Given(_:_:_:)","abstract":"

        Setup return value for method stubs in mock instance. When this method will be called on mock, it"},"Global%20methods.html#/s:11SwiftyMocky5Givenyyxm_06StaticC0QzAA14StubbingPolicyOtAA0D4MockRzlF":{"name":"Given(_:_:_:)","abstract":"

        Setup return value for static method stubs on mock type. When this static method will be called, it"},"Global%20methods.html#/s:11SwiftyMocky7Performyyx_ABQztAA4MockRzlF":{"name":"Perform(_:_:)","abstract":"

        Setup perform closure for method stubs in mock instance. When this method will be called on mock, it"},"Global%20methods.html#/s:11SwiftyMocky7Performyyxm_06StaticC0QztAA0D4MockRzlF":{"name":"Perform(_:_:)","abstract":"

        Setup perform closure for static method stubs for mock type. When this method will be called on mock type, it"},"Global%20methods.html#/s:11SwiftyMocky6Verify__4file4lineyx_ABQzs12StaticStringVSutAA4MockRzlF":{"name":"Verify(_:_:file:line:)","abstract":"

        Verify that given method was called on mock object at least once.

        "},"Global%20methods.html#/s:11SwiftyMocky6Verify__4file4lineyxm_06StaticC0Qzs0F6StringVSutAA0F4MockRzlF":{"name":"Verify(_:_:file:line:)","abstract":"

        Verify that given static method was called on mock type at least once.

        "},"Global%20methods.html#/s:11SwiftyMocky6Verify___4file4lineyx_AA5CountOABQzs12StaticStringVSutAA4MockRzlF":{"name":"Verify(_:_:_:file:line:)","abstract":"

        Verify that given method was called on mock object exact number of times.

        "},"Global%20methods.html#/s:11SwiftyMocky6Verify___4file4lineyxm_AA5CountO06StaticC0Qzs0G6StringVSutAA0G4MockRzlF":{"name":"Verify(_:_:_:file:line:)","abstract":"

        Verify that given static method was called on mock type exact number of times.

        "},"matcher-support-for-not-equatable.html":{"name":"Matcher support for not Equatable"},"handling-generics.html":{"name":"Handling Generics"},"examples.html":{"name":"Examples"},"legacy.html":{"name":"Legacy"},"add-xcode-generate-action.html":{"name":"Add XCode generate action"},"known-issues.html":{"name":"Known issues"},"changelog.html":{"name":"CHANGELOG"},"overview.html":{"name":"Overview"},"installation.html":{"name":"Installation"},"setup-in-project.html":{"name":"Setup in project"},"mockfile.html":{"name":"Mockfile"},"command-line-interface.html":{"name":"Command Line Interface"},"supported-features.html":{"name":"Supported features"},"prototyping.html":{"name":"Prototyping"},"Main%20Guides.html":{"name":"Main Guides"},"Additional%20Guides.html":{"name":"Additional Guides"},"Global%20methods.html":{"name":"Global methods"},"Configuration.html":{"name":"Configuration"},"Types.html":{"name":"Types"},"Generics.html":{"name":"Generics"},"Helpers.html":{"name":"Helpers"},"Internal.html":{"name":"Internal"},"Other%20Guides.html":{"name":"Other Guides","abstract":"

        The following guides are available globally.

        "},"Other%20Classes.html":{"name":"Other Classes","abstract":"

        The following classes are available globally.

        "},"Other%20Enums.html":{"name":"Other Enumerations","abstract":"

        The following enumerations are available globally.

        "},"Other%20Protocols.html":{"name":"Other Protocols","abstract":"

        The following protocols are available globally.

        "},"Other%20Structs.html":{"name":"Other Structures","abstract":"

        The following structures are available globally.

        "}} \ No newline at end of file +{"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV5valueypvp":{"name":"value","abstract":"

        [internal] Returned value

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV8intValueSivp":{"name":"intValue","abstract":"

        [internal] Used to describe attribute generocity (0 is general, 1 is specific)

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

        [internal] Used to compare with other attribute

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

        [internal] Used for formatting messages.

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV5value8intValue16shortDescription7compareACyp_SiSSSbyp_ypAA7MatcherCtctcfc":{"name":"init(value:intValue:shortDescription:compare:)","abstract":"

        [internal] Creates new TypeErasedAttribute instance, with specified return value and compare closure

        ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html":{"name":"TypeErasedAttribute","abstract":"

        [Internal] Used to wrap availability constrained attributes, since enum cases used ubternally to"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP5valueypvp":{"name":"value","abstract":"

        [internal] Returned value

        ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP03intE0Sivp":{"name":"intValue","abstract":"

        [internal] Used to describe attribute generocity (0 is general, 1 is specific)

        ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

        [internal] Used to compare with other generic attributes values

        ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

        [internal] Used for formatting messages.

        ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html":{"name":"TypeErasedValue","abstract":"

        [Internal] Used as generic constraint for generic method stubs.

        "},"Enums/Utils.html#/s:11SwiftyMocky5UtilsO19closestCallsMessage3for4nameSSSayAA7MatcherC16ComparisonResultVG_SStFZ":{"name":"closestCallsMessage(for:name:)","abstract":"

        Undocumented

        ","parent_name":"Utils"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO10invocationyA2CmF":{"name":"invocation","abstract":"

        Undocumented

        ","parent_name":"MockScope"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO5givenyA2CmF":{"name":"given","abstract":"

        Undocumented

        ","parent_name":"MockScope"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO7performyA2CmF":{"name":"perform","abstract":"

        Undocumented

        ","parent_name":"MockScope"},"Enums/MockScope.html":{"name":"MockScope","abstract":"

        Undocumented

        "},"Enums/Utils.html":{"name":"Utils","abstract":"

        Undocumented

        "},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC5valuexSgvp":{"name":"value","abstract":"

        Last captured value (if any)

        ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC9allValuesSayxGvp":{"name":"allValues","abstract":"

        All captured values

        ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorCACyxGycfc":{"name":"init()","abstract":"

        Undocumented

        ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC7capture5whereAA9ParameterOyxGSbxcSg_tF":{"name":"capture(where:)","abstract":"

        Return parameter matcher which captures the argument.

        ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html":{"name":"ArgumentCaptor","abstract":"

        Undocumented

        "},"contents.html":{"name":"Contents"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC7isValidSbvp":{"name":"isValid","abstract":"

        [Internal] Returns whether there are still products to be used as stub return values

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

        [Internal] Stubbing policy. By default uses parent mock policy

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodCyACSayAA11StubProductOGcfc":{"name":"init(_:)","abstract":"

        [Internal] Creates new method init with given products.

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC10getProduct6policyAA04StubF0OAA14StubbingPolicyO_tF":{"name":"getProduct(policy:)","abstract":"

        [Internal] Get next product, with respect to self.policy and inherited policy

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC4stub3forAA7StubberVyxGxm_tlF":{"name":"stub(for:)","abstract":"

        [Internal] New instance of stubber class, used to populate products array

        ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC10stubThrows3forAA07StubberF0VyxGxm_tlF":{"name":"stubThrows(for:)","abstract":"

        [Internal] New instance of stubber class, used to populate products array

        ","parent_name":"StubbedMethod"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO6returnyACypcACmF":{"name":"return(_:)","abstract":"

        Undocumented

        ","parent_name":"StubProduct"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO5throwyACs5Error_pcACmF":{"name":"throw(_:)","abstract":"

        Undocumented

        ","parent_name":"StubProduct"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO6castedxyKlF":{"name":"casted()","abstract":"

        [Internal] If self is returns, and nested value can be casted to T, returns value. Can fail (fatalError)

        ","parent_name":"StubProduct"},"Enums/MockError.html#/s:11SwiftyMocky9MockErrorO9notStubedyA2CmF":{"name":"notStubed","abstract":"

        Undocumented

        ","parent_name":"MockError"},"Extensions/UInt.html#/s:Su11SwiftyMockyE7matchesySbSiF":{"name":"matches(_:)","abstract":"

        Returns whether given count matches countable case.

        ","parent_name":"UInt"},"Extensions/Optional.html#/s:Sq11SwiftyMockyE6orFailyxSSF":{"name":"orFail(_:)","abstract":"

        Returns unwrapped value, or fails.

        ","parent_name":"Optional"},"Extensions/Optional.html#/s:Sq11SwiftyMockyE8isNotNilSbvp":{"name":"isNotNil","abstract":"

        Undocumented

        ","parent_name":"Optional"},"Extensions/Optional.html#/s:s26ExpressibleByStringLiteralP0cD4TypeQa":{"name":"StringLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP0cdeF4TypeQa":{"name":"ExtendedGraphemeClusterLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s33ExpressibleByUnicodeScalarLiteralP0cdE4TypeQa":{"name":"UnicodeScalarLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP08extendeddeF0x0cdeF4TypeQz_tcfc":{"name":"init(extendedGraphemeClusterLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s33ExpressibleByUnicodeScalarLiteralP07unicodedE0x0cdE4TypeQz_tcfc":{"name":"init(unicodeScalarLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByIntegerLiteralP0cD4TypeQa":{"name":"IntegerLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByBooleanLiteralP0cD4TypeQa":{"name":"BooleanLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByBooleanLiteralP07booleanD0x0cD4TypeQz_tcfc":{"name":"init(booleanLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByFloatLiteralP0cD4TypeQa":{"name":"FloatLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc":{"name":"init(floatLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByArrayLiteralP0cD7ElementQa":{"name":"ArrayLiteralElement","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc":{"name":"init(arrayLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP3KeyQa":{"name":"Key","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP5ValueQa":{"name":"Value","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP010dictionaryD0x3KeyQz_5ValueQztd_tcfc":{"name":"init(dictionaryLiteral:)","parent_name":"Optional"},"Extensions/Int.html#/s:Si11SwiftyMockyE7matchesySbSiF":{"name":"matches(_:)","abstract":"

        Returns whether given count matches countable case.

        ","parent_name":"Int"},"Protocols/WithStubbingPolicy.html#/s:11SwiftyMocky18WithStubbingPolicyP6policyAA0dE0Ovp":{"name":"policy","abstract":"

        Stubbing policy

        ","parent_name":"WithStubbingPolicy"},"Protocols/WithStubbingPolicy.html#/s:11SwiftyMocky18WithStubbingPolicyP4withyxAA0dE0OF":{"name":"with(_:)","abstract":"

        [Internal] with new policy

        ","parent_name":"WithStubbingPolicy"},"Protocols/WithStaticSequencingPolicy.html#/s:11SwiftyMocky26WithStaticSequencingPolicyP010sequencingF0AA0eF0OvpZ":{"name":"sequencingPolicy","abstract":"

        Used sequencibg policy

        ","parent_name":"WithStaticSequencingPolicy"},"Protocols/WithSequencingPolicy.html#/s:11SwiftyMocky20WithSequencingPolicyP010sequencingE0AA0dE0Ovp":{"name":"sequencingPolicy","abstract":"

        Used sequencibg policy

        ","parent_name":"WithSequencingPolicy"},"Protocols/OptionalType.html#/s:11SwiftyMocky12OptionalTypeP8isNotNilSbvp":{"name":"isNotNil","abstract":"

        Undocumented

        ","parent_name":"OptionalType"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV3setyys5NeverOSScFZ":{"name":"set(_:)","abstract":"

        [Internal] Override handling error handler

        ","parent_name":"FatalErrorUtil"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV7restoreyyFZ":{"name":"restore()","abstract":"

        [Internal] Restores default handler

        ","parent_name":"FatalErrorUtil"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV05fatalD0ys5NeverOSSFZ":{"name":"fatalError(_:)","abstract":"

        [Internal] Perform fatal error handler

        ","parent_name":"FatalErrorUtil"},"Classes/SwiftyMockyTestObserver.html#/setup()":{"name":"setup()","abstract":"

        [Internal] No setup whatsoever

        ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/handleFatalError(message:file:line:)":{"name":"handleFatalError(message:file:line:)","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/s:11SwiftyMocky0aB12TestObserverC5setupyyFZ":{"name":"setup()","abstract":"

        Call this method to setup custom error handling for SwiftyMocky, that allows to gracefully handle missing stub fatal errors.","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/c:@M@SwiftyMocky@objc(cs)SwiftyMockyTestObserver(im)testCaseWillStart:":{"name":"testCaseWillStart(_:)","abstract":"

        [Internal] Observer for test start

        ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/c:@M@SwiftyMocky@objc(cs)SwiftyMockyTestObserver(im)testCaseDidFinish:":{"name":"testCaseDidFinish(_:)","abstract":"

        [Internal] Observer for test finished

        ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/s:11SwiftyMocky0aB12TestObserverC16handleFatalError7message4file4lineySS_s12StaticStringVSutFZ":{"name":"handleFatalError(message:file:line:)","abstract":"

        [Internal] used to notify about internal error. Do not call it directly.

        ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html":{"name":"SwiftyMockyTestObserver"},"Structs/FatalErrorUtil.html":{"name":"FatalErrorUtil","abstract":"

        [Internal] Used for handling fatal errors inside library.

        "},"Protocols/OptionalType.html":{"name":"OptionalType","abstract":"

        Protocol around Optional, allowing additional checks and features on Paramater where value is optional.

        "},"Protocols/WithSequencingPolicy.html":{"name":"WithSequencingPolicy","abstract":"

        Has sequencing policy for stubbing methods

        "},"Protocols/WithStaticSequencingPolicy.html":{"name":"WithStaticSequencingPolicy","abstract":"

        Has sequencing policy for stubbing static methods

        "},"Protocols/WithStubbingPolicy.html":{"name":"WithStubbingPolicy","abstract":"

        [Internal] used for marking that stubs have configurable policy

        "},"Extensions/Int.html":{"name":"Int"},"Extensions/Optional.html":{"name":"Optional"},"Extensions/UInt.html":{"name":"UInt"},"Enums/MockError.html":{"name":"MockError","abstract":"

        [Internal] Generic Mock library errors

        "},"Enums/StubProduct.html":{"name":"StubProduct","abstract":"

        [Internal] Possible Given products. Method can either return or throw an error (in general)

        "},"Classes/StubbedMethod.html":{"name":"StubbedMethod","abstract":"

        [Internal] Allows to reduce Mock.generated.swif size, by moving part of implementation here.

        "},"Internal.html#/s:11SwiftyMocky7Failureys5NeverOSSF":{"name":"Failure(_:)","abstract":"

        [Internal] Fails flow with given message

        "},"Internal.html#/s:11SwiftyMocky0B6Assert__4file4lineySbyXK_SSyXKs12StaticStringVSutF":{"name":"MockyAssert(_:_:file:line:)","abstract":"

        [internal] Assertion used by mocks and Verify methods

        "},"Classes/MockyAssertion.html#/s:11SwiftyMocky0B9AssertionC7handlerySb_SSs12StaticStringVSutcSgvpZ":{"name":"handler","abstract":"

        You can use it to define assertion behaviour.","parent_name":"MockyAssertion"},"Helpers.html#/s:11SwiftyMocky20XCTAssertThrowsError_2of_4file4lineyxyKXK_q_mSSyXKs12StaticStringVSuts0E0R_r0_lF":{"name":"XCTAssertThrowsError(_:of:_:file:line:)","abstract":"

        Allows to verify if error was thrown, and if it is of given type.

        "},"Helpers.html#/s:11SwiftyMocky20XCTAssertThrowsError_5error_4file4lineyxyKXK_q_SSyXKs12StaticStringVSutSQR_s0E0R_r0_lF":{"name":"XCTAssertThrowsError(_:error:_:file:line:)","abstract":"

        Allows to verify if error was throws, and if its exactly the one expected.

        "},"Classes/MockyAssertion.html":{"name":"MockyAssertion","abstract":"

        You can use this class if there is need to define custom"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV5valueypvp":{"name":"value","abstract":"

        [internal] Returned value

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV8intValueSivp":{"name":"intValue","abstract":"

        [internal] Used to describe attribute generocity (0 is general, 1 is specific)

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

        [internal] Used to compare with other generic attributes

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

        [internal] Used for formatting messages.

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV5value8intValue16shortDescription7compareACyp_SiSSSbyp_ypAA7MatcherCtctcfc":{"name":"init(value:intValue:shortDescription:compare:)","abstract":"

        [internal] Creates new GenericAttribute instance, with specified return value and compare closure

        ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html":{"name":"GenericAttribute","abstract":"

        [Internal] Used to wrap generic parameters, for sake of generic method stubs.

        "},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

        Stubbing policy. If wrap - it will iterate over recorded values. If drop - it will remove value when stub returns. If default - it will use mock settings

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV_9returningACyxGAA13StubbedMethodC_xmtcfc":{"name":"init(_:returning:)","abstract":"

        [Internal] New instance of stubber class, used to populate products array

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6returnyyxF":{"name":"return(_:)","abstract":"

        Record return value

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6returnyyxd_tF":{"name":"return(_:)","abstract":"

        Record subsequent return values, in given order (comma separated)

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV5throwyys5Error_pF":{"name":"throw(_:)","abstract":"

        Record thrown error

        ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV5throwyys5Error_pd_tF":{"name":"throw(_:)","abstract":"

        Record subsequent thrown errors, in given order (comma separated)

        ","parent_name":"StubberThrows"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

        Stubbing policy. If wrap - it will iterate over recorded values. If drop - it will remove value when stub returns. If default - it will use mock settings

        ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV_9returningACyxGAA13StubbedMethodC_xmtcfc":{"name":"init(_:returning:)","abstract":"

        [Internal] New instance of stubber class, used to populate products array

        ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6returnyyxF":{"name":"return(_:)","abstract":"

        Record return value

        ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6returnyyxd_tF":{"name":"return(_:)","abstract":"

        Record subsequent return values, in given order (comma separated)

        ","parent_name":"Stubber"},"Enums/Count.html#/s:11SwiftyMocky5CountO21CustomMatchingClosurea":{"name":"CustomMatchingClosure","abstract":"

        Count matching closure

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO18IntegerLiteralTypea":{"name":"IntegerLiteralType","abstract":"

        [Internal] Count is represented by integer literals, with type Int

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11atLeastOnceyA2CmF":{"name":"atLeastOnce","abstract":"

        Called at least once

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4onceyA2CmF":{"name":"once","abstract":"

        Called exactly once

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO6customyACSbSiccACmF":{"name":"custom(_:)","abstract":"

        Custom count resolving closure

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO7exactlyyACSicACmF":{"name":"exactly(_:)","abstract":"

        Called exactly n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4fromyACSi_SitcACmF":{"name":"from(_:to:)","abstract":"

        Called in a…b range

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4lessyACSi_tcACmF":{"name":"less(than:)","abstract":"

        Called less than n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11lessOrEqualyACSi_tcACmF":{"name":"lessOrEqual(to:)","abstract":"

        Called less than ot equal to n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4moreyACSi_tcACmF":{"name":"more(than:)","abstract":"

        Called more than n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11moreOrEqualyACSi_tcACmF":{"name":"moreOrEqual(to:)","abstract":"

        Called more than ot equal to n times

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO5neveryA2CmF":{"name":"never","abstract":"

        Never called

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO14integerLiteralACSi_tcfc":{"name":"init(integerLiteral:)","abstract":"

        Creates new count instance, matching specific count

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11descriptionSSvp":{"name":"description","abstract":"

        Human readable description

        ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO7matchesySbSiF":{"name":"matches(_:)","abstract":"

        Returns whether given count matches countable case.

        ","parent_name":"Count"},"Protocols/Countable.html#/s:11SwiftyMocky9CountableP7matchesySbSiF":{"name":"matches(_:)","abstract":"

        Returns whether given count matches countable case.

        ","parent_name":"Countable"},"Classes/Matcher/ParameterComparisonResult.html#/s:11SwiftyMocky7MatcherC25ParameterComparisonResultVyAESb_AA0D0OyxGAGyq_GSStcr0_lufc":{"name":"init(_:_:_:_:)","abstract":"

        Undocumented

        ","parent_name":"ParameterComparisonResult"},"Classes/Matcher/ParameterComparisonResult.html#/s:11SwiftyMocky7MatcherC25ParameterComparisonResultV12resultStringSSvp":{"name":"resultString","abstract":"

        Undocumented

        ","parent_name":"ParameterComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7matchedSivp":{"name":"matched","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV5totalSivp":{"name":"total","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7resultsSayAC09ParameterdE0VGvp":{"name":"results","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV10percentageSfvp":{"name":"percentage","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV16percentageStringSSvp":{"name":"percentageString","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV11isFullMatchSbvp":{"name":"isFullMatch","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7isMatchSbvp":{"name":"isMatch","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultVyAESayAC09ParameterdE0VGcfc":{"name":"init(_:)","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7matched5totalAESi_Sitcfc":{"name":"init(matched:total:)","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV5matchAEvpZ":{"name":"match","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV4noneAEvpZ":{"name":"none","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV12resultStringySSSi_SStF":{"name":"resultString(_:_:)","abstract":"

        Undocumented

        ","parent_name":"ComparisonResult"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC7defaultACvpZ":{"name":"default","abstract":"

        Shared Matcher instance

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC17fatalErrorHandleryySS_s12StaticStringVSutcvpZ":{"name":"fatalErrorHandler","abstract":"

        [Internal] matcher fatal error handler

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherCACycfc":{"name":"init()","abstract":"

        Create new clean matcher instance.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC7matcherA2C_tcfc":{"name":"init(matcher:)","abstract":"

        Creante new matcher instance, copying existing comparator from another instance.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC3set4file4lineys12StaticStringVSg_SuSgtF":{"name":"set(file:line:)","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC23setupCorrentFileAndLine4file4lineys12StaticStringV_SutF":{"name":"setupCorrentFileAndLine(file:line:)","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC16clearFileAndLineyyF":{"name":"clearFileAndLine()","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC14onFatalFailureyySSF":{"name":"onFatalFailure(_:)","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8register_5matchyxm_Sbx_xtctlF":{"name":"register(_:match:)","abstract":"

        Registers comparator for given type T.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8registeryyxmmlF":{"name":"register(_:)","abstract":"

        Registers comparator for type, like comparing Int.self to Int.self. These types of comparators always returns true. Register like: Matcher.default.register(CustomType.Type.self)

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8registeryyxmSQRzlF":{"name":"register(_:)","abstract":"

        Register default comparatot for Equatable types. Required for generic mocks to work.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tlF":{"name":"comparator(for:)","abstract":"

        Returns comparator closure for given type (if any).

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSTRzlF":{"name":"comparator(for:)","abstract":"

        Default Sequence comparator, compares count, and then depending on sequence type:

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSQRzlF":{"name":"comparator(for:)","abstract":"

        Default Equatable comparator, compares if elements are equal.

        ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSQRzSTRzlF":{"name":"comparator(for:)","abstract":"

        Default Equatable Sequence comparator, compares count, and then for every element equal element.

        ","parent_name":"Matcher"},"Classes/Matcher/ComparisonResult.html":{"name":"ComparisonResult","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Classes/Matcher/ParameterComparisonResult.html":{"name":"ParameterComparisonResult","abstract":"

        Undocumented

        ","parent_name":"Matcher"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO1_yACyxGAEmlF":{"name":"_","abstract":"

        Wildcard - any value

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO5valueyACyxGxcAEmlF":{"name":"value(_:)","abstract":"

        Explicit value

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO8matchingyACyxGSbxccAEmlF":{"name":"matching(_:)","abstract":"

        Any value matching

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3anyACyxGvpZ":{"name":"any","abstract":"

        Represents and matches any parameter value - syntactic sugar for ._ case.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3anyyACyqd__Gqd__mlFZ":{"name":"any(_:)","abstract":"

        Represents and matches any parameter value - syntactic sugar for ._ case. Used, when needs to explicitely specify","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

        Undocumented

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO7compare3lhs3rhs4withSbACyxG_AhA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

        Returns whether given two parameters are matching each other, with following rules:

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO13wrapAsGenericACyAA0F9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO19typeErasedAttributeACyAA04TypeeF0VGyF":{"name":"typeErasedAttribute()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO19noComparatorFailure2ins5NeverOAA7MatcherC_tFZ":{"name":"noComparatorFailure(in:)","abstract":"

        [Internal] Fatal error raised when no comparator or default comparator found for ValueType.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOA2A15TypeErasedValueRzlE7compare3lhs3rhs4withSbACyxG_AiA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

        [Internal] Compare two parameters

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzlE7compare3lhs3rhs4withSbACyxG_AhA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

        [Internal] Compare two parameters

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzlE13wrapAsGenericACyAA0F9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzlE19typeErasedAttributeACyAA04TypeeF0VGyF":{"name":"typeErasedAttribute()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzSQ7ElementRpzlE7compare3lhs3rhs4withSbACyxG_AjA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

        [Internal] Compare two parameters

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzSQ7ElementRpzlE13wrapAsGenericACyAA0G9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzSQ7ElementRpzlE19typeErasedAttributeACyAA04TypefG0VGyF":{"name":"typeErasedAttribute()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzSQ7ElementSTRpzlE7compare3lhs3rhs4withSbACyxG_AjA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

        [Internal] Compare two parameters

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzSQ7ElementSTRpzlE13wrapAsGenericACyAA0G9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzSQ7ElementSTRpzlE19typeErasedAttributeACyAA04TypefG0VGyF":{"name":"typeErasedAttribute()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzlE7Elementa":{"name":"Element","abstract":"

        Element

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzlE7compare3lhs3rhs4withSbACyxG_AhA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

        [Internal] Compare two parameters

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzlE13wrapAsGenericACyAA0F9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzlE19typeErasedAttributeACyAA04TypeeF0VGyF":{"name":"typeErasedAttribute()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzlE7compare3lhs3rhs4withSbACyxG_AhA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

        [Internal] Compare two parameters

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzlE13wrapAsGenericACyAA0F9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzlE19typeErasedAttributeACyAA04TypeeF0VGyF":{"name":"typeErasedAttribute()","abstract":"

        [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOA2A12OptionalTypeRzlE6notNilACyxGvpZ":{"name":"notNil","abstract":"

        Undocumented

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAARlzClE12sameInstance2asACyxGqd___tRld__ClFZ":{"name":"sameInstance(as:)","abstract":"

        Represents and matches values on an same instance basis.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAARlzClE10isInstance2ofACyxGqd__m_tRld__ClFZ":{"name":"isInstance(of:)","abstract":"

        Represents and matches whether parameter is of specific type, using is operator.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3allyACyxGAEd_tFZ":{"name":"all(_:)","abstract":"

        Allows combining multiple Parameter constraints into one Parameter constraint.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOA2A15TypeErasedValueRzlE03intF0Sivp":{"name":"intValue","abstract":"

        Used for invocations sorting purpose.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO8intValueSivp":{"name":"intValue","abstract":"

        Used for invocations sorting purpose.

        ","parent_name":"Parameter"},"Enums/Parameter.html#/s:s26ExpressibleByStringLiteralP0cD4TypeQa":{"name":"StringLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP0cdeF4TypeQa":{"name":"ExtendedGraphemeClusterLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s33ExpressibleByUnicodeScalarLiteralP0cdE4TypeQa":{"name":"UnicodeScalarLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP08extendeddeF0x0cdeF4TypeQz_tcfc":{"name":"init(extendedGraphemeClusterLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s33ExpressibleByUnicodeScalarLiteralP07unicodedE0x0cdE4TypeQz_tcfc":{"name":"init(unicodeScalarLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s23ExpressibleByNilLiteralP03nilD0xyt_tcfc":{"name":"init(nilLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByIntegerLiteralP0cD4TypeQa":{"name":"IntegerLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByBooleanLiteralP0cD4TypeQa":{"name":"BooleanLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByBooleanLiteralP07booleanD0x0cD4TypeQz_tcfc":{"name":"init(booleanLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByFloatLiteralP0cD4TypeQa":{"name":"FloatLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc":{"name":"init(floatLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByArrayLiteralP0cD7ElementQa":{"name":"ArrayLiteralElement","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc":{"name":"init(arrayLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP3KeyQa":{"name":"Key","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP5ValueQa":{"name":"Value","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP010dictionaryD0x3KeyQz_5ValueQztd_tcfc":{"name":"init(dictionaryLiteral:)","parent_name":"Parameter"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C5GivenQa":{"name":"StaticGiven","abstract":"

        Stubbed method and property type

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C6VerifyQa":{"name":"StaticVerify","abstract":"

        Verification type

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C7PerformQa":{"name":"StaticPerform","abstract":"

        Perform type

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP5givenyy0C5GivenQzFZ":{"name":"given(_:)","abstract":"

        Registers return value for stubbed method, for specified attributes set.

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP7performyy0C7PerformQzFZ":{"name":"perform(_:)","abstract":"

        Registers perform closure, which will be executed upon calling stubbed method, for specified attribtes.

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP6verify_5count4file4liney0C6VerifyQz_AA5CountOs0C6StringVSutFZ":{"name":"verify(_:count:file:line:)","abstract":"

        Verifies, that given method stub was called exact number of times.

        ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP05resetD0yyAA0D5ScopeOd_tFZ":{"name":"resetMock(_:)","abstract":"

        Clear mock internals. You can specify what to clear (invocations aka verify, givens or performs)","parent_name":"StaticMock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP5GivenQa":{"name":"Given","abstract":"

        Stubbed method and property type

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP6VerifyQa":{"name":"Verify","abstract":"

        Verification type

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP7PerformQa":{"name":"Perform","abstract":"

        Perform type

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP5givenyy5GivenQzF":{"name":"given(_:)","abstract":"

        Registers return value for stubbed method, for specified attributes set.

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP7performyy7PerformQzF":{"name":"perform(_:)","abstract":"

        Registers perform closure, which will be executed upon calling stubbed method, for specified attribtes.

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP6verify_5count4file4liney6VerifyQz_AA5CountOs12StaticStringVSutF":{"name":"verify(_:count:file:line:)","abstract":"

        Verifies, that given method stub was called exact number of times.

        ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP05resetC0yyAA0C5ScopeOd_tF":{"name":"resetMock(_:)","abstract":"

        Clear mock internals. You can specify what to clear (invocations aka verify, givens or performs)","parent_name":"Mock"},"Protocols/Mock.html":{"name":"Mock","abstract":"

        Every generated mock implementation adopts Mock protocol."},"Protocols/StaticMock.html":{"name":"StaticMock","abstract":"

        Every mock, that stubs static methods, should adopt StaticMock protocol."},"Enums/Parameter.html":{"name":"Parameter","abstract":"

        Parameter wraps method attribute, allowing to make a difference between explicit value,"},"Classes/Matcher.html":{"name":"Matcher","abstract":"

        Matcher is container class, responsible for storing and resolving comparators for given types.

        "},"Protocols/Countable.html":{"name":"Countable","abstract":"

        Allows matching count, verifying whether given count is right or not

        "},"Enums/Count.html":{"name":"Count","abstract":"

        Count enum. Use it for all Verify features, when checking how many times something happened.

        "},"Structs/Stubber.html":{"name":"Stubber","abstract":"

        Used to populate stubbed method with sequence of events. Call it’s methods, to record subsequent stub return values.

        "},"Structs/StubberThrows.html":{"name":"StubberThrows","abstract":"

        Used to populate stubbed method with sequence of events. Call it’s methods, to record subsequent stub return/throw values.

        "},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO24lastWrittenResolvedFirstyA2CmF":{"name":"lastWrittenResolvedFirst","abstract":"

        Default policy. Last given overrides previous, if they are both with same generocity level

        ","parent_name":"SequencingPolicy"},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO14inWritingOrderyA2CmF":{"name":"inWritingOrder","abstract":"

        Givens would be recalled in order of generocity, respecting writing order (first line resolved first)

        ","parent_name":"SequencingPolicy"},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO6sorted_2bySayxGAF_Sbx_xtXEtlF":{"name":"sorted(_:by:)","abstract":"

        [Internal] Sorts stub return values / errors throw with respect to ordering rule and policy

        ","parent_name":"SequencingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO7defaultyA2CmF":{"name":"default","abstract":"

        Use current policy specified for Mock method type

        ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4wrapyA2CmF":{"name":"wrap","abstract":"

        Default policy in general. When reaching end of sequence of events, index will rewind to beginning (looping)

        ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4dropyA2CmF":{"name":"drop","abstract":"

        With this policy, every call drops event. When events count reaches zero, given is removed from mock.

        ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4realyA2CF":{"name":"real(_:)","abstract":"

        [Internal] Resolves used policy. If self is default, will use inherited, otherwise self

        ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO7updated_4withS2i_SitF":{"name":"updated(_:with:)","abstract":"

        [Internal] Computes new index for stubs array. For wrap will rewind if out of bounds, for drop will not.","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html":{"name":"StubbingPolicy","abstract":"

        Given Policy for treating sequence of events (products). Used to determine if stub return values should be consumed"},"Enums/SequencingPolicy.html":{"name":"SequencingPolicy","abstract":"

        Sequencing policy - in which order Given would be resolved. Pleas ehve in mind that this policy is applied ONLY after"},"Global%20methods.html#/s:11SwiftyMocky5Givenyyx_ABQzAA14StubbingPolicyOtAA4MockRzlF":{"name":"Given(_:_:_:)","abstract":"

        Setup return value for method stubs in mock instance. When this method will be called on mock, it"},"Global%20methods.html#/s:11SwiftyMocky5Givenyyxm_06StaticC0QzAA14StubbingPolicyOtAA0D4MockRzlF":{"name":"Given(_:_:_:)","abstract":"

        Setup return value for static method stubs on mock type. When this static method will be called, it"},"Global%20methods.html#/s:11SwiftyMocky7Performyyx_ABQztAA4MockRzlF":{"name":"Perform(_:_:)","abstract":"

        Setup perform closure for method stubs in mock instance. When this method will be called on mock, it"},"Global%20methods.html#/s:11SwiftyMocky7Performyyxm_06StaticC0QztAA0D4MockRzlF":{"name":"Perform(_:_:)","abstract":"

        Setup perform closure for static method stubs for mock type. When this method will be called on mock type, it"},"Global%20methods.html#/s:11SwiftyMocky6Verify__4file4lineyx_ABQzs12StaticStringVSutAA4MockRzlF":{"name":"Verify(_:_:file:line:)","abstract":"

        Verify that given method was called on mock object at least once.

        "},"Global%20methods.html#/s:11SwiftyMocky6Verify__4file4lineyxm_06StaticC0Qzs0F6StringVSutAA0F4MockRzlF":{"name":"Verify(_:_:file:line:)","abstract":"

        Verify that given static method was called on mock type at least once.

        "},"Global%20methods.html#/s:11SwiftyMocky6Verify___4file4lineyx_AA5CountOABQzs12StaticStringVSutAA4MockRzlF":{"name":"Verify(_:_:_:file:line:)","abstract":"

        Verify that given method was called on mock object exact number of times.

        "},"Global%20methods.html#/s:11SwiftyMocky6Verify___4file4lineyxm_AA5CountO06StaticC0Qzs0G6StringVSutAA0G4MockRzlF":{"name":"Verify(_:_:_:file:line:)","abstract":"

        Verify that given static method was called on mock type exact number of times.

        "},"matcher-support-for-not-equatable.html":{"name":"Matcher support for not Equatable"},"handling-generics.html":{"name":"Handling Generics"},"examples.html":{"name":"Examples"},"legacy.html":{"name":"Legacy"},"add-xcode-generate-action.html":{"name":"Add XCode generate action"},"known-issues.html":{"name":"Known issues"},"changelog.html":{"name":"CHANGELOG"},"overview.html":{"name":"Overview"},"installation.html":{"name":"Installation"},"setup-in-project.html":{"name":"Setup in project"},"mockfile.html":{"name":"Mockfile"},"command-line-interface.html":{"name":"Command Line Interface"},"supported-features.html":{"name":"Supported features"},"prototyping.html":{"name":"Prototyping"},"Main%20Guides.html":{"name":"Main Guides"},"Additional%20Guides.html":{"name":"Additional Guides"},"Global%20methods.html":{"name":"Global methods"},"Configuration.html":{"name":"Configuration"},"Types.html":{"name":"Types"},"Generics.html":{"name":"Generics"},"Helpers.html":{"name":"Helpers"},"Internal.html":{"name":"Internal"},"Other%20Guides.html":{"name":"Other Guides","abstract":"

        The following guides are available globally.

        "},"Other%20Classes.html":{"name":"Other Classes","abstract":"

        The following classes are available globally.

        "},"Other%20Enums.html":{"name":"Other Enumerations","abstract":"

        The following enumerations are available globally.

        "},"Other%20Protocols.html":{"name":"Other Protocols","abstract":"

        The following protocols are available globally.

        "},"Other%20Structs.html":{"name":"Other Structures","abstract":"

        The following structures are available globally.

        "}} \ No newline at end of file diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/setup-in-project.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/setup-in-project.html index 897a6951..2d228dd9 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/setup-in-project.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/setup-in-project.html @@ -13,7 +13,7 @@
        -

        SwiftyMocky 4.1.0-pre Docs (86% documented)

        +

        SwiftyMocky 4.1.0 Docs (86% documented)

        View on GitHub

        @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/supported-features.html b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/supported-features.html index 7be009bb..3155478d 100644 --- a/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/supported-features.html +++ b/docs/docsets/SwiftyMocky.docset/Contents/Resources/Documents/supported-features.html @@ -13,7 +13,7 @@
        -

        SwiftyMocky 4.1.0-pre Docs (86% documented)

        +

        SwiftyMocky 4.1.0 Docs (86% documented)

        View on GitHub

        @@ -188,6 +188,9 @@ + diff --git a/docs/docsets/SwiftyMocky.docset/Contents/Resources/docSet.dsidx b/docs/docsets/SwiftyMocky.docset/Contents/Resources/docSet.dsidx index d0d6fca4..817b1b3a 100644 Binary files a/docs/docsets/SwiftyMocky.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/SwiftyMocky.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/SwiftyMocky.tgz b/docs/docsets/SwiftyMocky.tgz index 28c21498..50396039 100644 Binary files a/docs/docsets/SwiftyMocky.tgz and b/docs/docsets/SwiftyMocky.tgz differ diff --git a/docs/examples.html b/docs/examples.html index d4712478..5a01c876 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -13,7 +13,7 @@
        -

        SwiftyMocky 4.1.0-pre Docs (86% documented)

        +

        SwiftyMocky 4.1.0 Docs (86% documented)

        View on GitHub

        @@ -188,6 +188,9 @@ + diff --git a/docs/handling-generics.html b/docs/handling-generics.html index 7b63b4d8..7588a620 100644 --- a/docs/handling-generics.html +++ b/docs/handling-generics.html @@ -13,7 +13,7 @@
        -

        SwiftyMocky 4.1.0-pre Docs (86% documented)

        +

        SwiftyMocky 4.1.0 Docs (86% documented)

        View on GitHub

        @@ -188,6 +188,9 @@ + diff --git a/docs/index.html b/docs/index.html index 95314138..10763176 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,7 +13,7 @@
        -

        SwiftyMocky 4.1.0-pre Docs (86% documented)

        +

        SwiftyMocky 4.1.0 Docs (86% documented)

        View on GitHub

        @@ -188,6 +188,9 @@ + @@ -272,12 +275,10 @@
        -

        SwiftyMocky 4.1.0-pre

        -

        logo

        - -

        Join our community on Slack! -> [invitation link here][link-slack]

        +

        SwiftyMocky 4.1.0

        +

        logo

        -

        Check out guides, or full documentation

        +

        Check out guides, or full documentation

        Table of contents

          @@ -286,8 +287,8 @@

          Table of contents

        1. Getting started:
            -
          1. Installing SwiftyMocky CLI
          2. Integrating SwiftyMocky runtime into test target
          3. +
          4. Installation SwiftyMocky CLI
          5. Generate mocks
        2. Usage: @@ -312,9 +313,9 @@

          Table of contents

          Overview

          -

          SwiftyMocky is Lightweight, strongly typed framework for Mockito-like unit testing experience. As Swift doesn’t support reflections well enough to allow building mocks in runtime, library depends on Sourcery, that scans your source code and generates Mocks Swift code for you!

          +

          SwiftyMocky is a strongly typed framework for Mockito-like unit testing experience. Library depends on Sourcery, that scans your source code and generates Mocks Swift code for you!

          -

          The idea of SwiftyMocky is to automatically mock Swift protocols. The main features are:

          +

          The idea of SwiftyMocky is to automatically mock Swift protocols and protocol compositions. The main features are:

          • easy syntax, utilising full power of auto-complete, which makes writing test easier and faster
          • @@ -329,43 +330,31 @@

            Overview

          -

          Important!!! Version 4.x.x

          - -

          Current version has several significant changes. It removes deprecated methods (which might be breaking) and moves CLI to the new repository.

          - -

          We consider current version as stable. We are moving toward using the new Mockfile but the previous configuration format would be still supported. Library works with Swift 4.1, 4.2, 5.0, 5.1.2 and Sourcery 0.17-0.18.

          +

          Important!!! Version 4.1.x

          -

          While it is technically possible to integrate SwiftyMocky on Linux targets, there is no Mock generation feature there yet. You can use SwiftyMokcy runtime via SwiftPM though, as long as your are fine with generating mocks on mac machine.

          +

          CLI was moved bask to the main (this) repo. CLI in this repository will be supported at least until version 5.0.0.

          +

          Version 4.0.x

          -

          -

          Getting started

          +

          Current version has several significant changes. It removes deprecated methods (which might be breaking) and deprecates having CLI in the new repository.

          -

          To start working with SwiftyMocky you need to:

          +

          SwiftyPrototype was also extracted to separate library. There are no more compilation flags, so if you were relying on SwiftyMocky with -DMockyCustom, you will have to switch to SwiftyPrototype.

          -
            -
          1. Install CLI
          2. -
          3. Integrate SwiftyMocky runtime library
          4. -
          5. Generate Mocks and add to your test target
          6. -
          +

          We consider current version as stable. We are moving toward using the new Mockfile but the previous configuration format would be still supported. Library works with Swift 4.1, 4.2, 5.0, 5.1.2 and Sourcery 1.0.x.

          -

          -

          1. Installing SwiftyMocky CLI:

          +

          While it is technically possible to integrate SwiftyMocky on Linux targets, there is no Mock generation feature there yet. You can use SwiftyMokcy runtime via SwiftPM though, as long as your are fine with generating mocks on mac machine.

          +

          Migration from 3.2.0 and below

          -

          Mint 🌱:

          -
          > brew install mint
          -> mint install MakeAWishFoundation/SwiftyMocky-CLI
          -
          +

          The migration is not required, you can keep using SwiftyMocky as you did before. The Legacy setup is described in guides section.

          -

          Marathon 🏃:

          -
          > marathon install MakeAWishFoundation/SwiftyMocky-CLI
          +

          Still, we would encourage to try new CLI and share a feedback. We believe it will make using and setting up SwiftyMocky way easier. If you have an existing setup, install CLI as per this guide and try:

          +
          > swiftymocky migrate
           
          -

          Make:

          - -

          Clone from https://github.com/MakeAWishFoundation/SwiftyMockyCLI and run make in the root directory.

          +

          +

          Getting started

          -

          2. Integrating SwiftyMocky runtime into test target:

          +

          1. Integrating SwiftyMocky:

          CocoaPods:

          @@ -373,6 +362,13 @@

          2. I
          pod "SwiftyMocky"
           
          +

          Use CLI tool from your project directory:

          +
          # To setup initial Mockfile
          +% ./Pods/SwiftyMocky/bin/swiftymocky init
          +# To generate mocks
          +% ./Pods/SwiftyMocky/bin/swiftymocky generate
          +
          +

          Carthage:

          To install, add following to you Cartfile:

          @@ -381,34 +377,56 @@

          2. I

          Then execute carthage update

          -

          For Carthage, few additional steps are required ⚠️. For detailed install instructions, see full documentation or consult [Carthage documentation][carthage-adding-framework].

          +

          For Carthage, few additional steps are required ⚠️. For detailed install instructions, see full documentation or consult [Carthage documentation][carthage-adding-framework].

          + +

          You need to install CLI to generate mocks - see installation

          Swift Package Manager:

          Add SwiftyMocky to you Package.swift dependencies:

          dependencies: [
          -    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0-pre"),
          +    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0"),
           ]
           
          +

          You need to install CLI to generate mocks - see installation

          +

          Note: Examples of SwiftyMocky integration as a tool for Unit tests, as well as a Prototyping framework, are here: https://github.com/MakeAWishFoundation/SM-Integration-Tests

          +

          +

          2. Installing SwiftyMocky CLI:

          + +

          Mint 🌱:

          +
          > brew install mint
          +> mint install MakeAWishFoundation/SwiftyMocky
          +
          + +

          Marathon 🏃:

          +
          > marathon install MakeAWishFoundation/SwiftyMocky
          +
          + +

          Make:

          + +

          Clone from https://github.com/MakeAWishFoundation/SwiftyMockyCLI and run make in the root directory.

          + +
          +

          3. Generate mocks

          Annotate your protocols that are going to be mocked, making them adopt AutoMockable protocol, or adding annotation comment above their definition in the source code.

          -

          Mocks are generated from your project root directory, based on configuration inside Mockfile.

          +

          Mocks are generated from your project root directory, based on configuration inside Mockfile.

          > swiftymocky setup     # if you don't have a Mockfile yet
           > swiftymocky doctor    # validate your setup
           > swiftymocky generate  # generate mocks
           
          -

          More informations about CLI and mock generation

          +

          More informations about CLI and mock generation

          -

          If you don’t want to migrate to our CLI and prefer to use raw Sourcery, please refer to this section in documentation.

          +

          If you don’t want to migrate to our CLI and prefer to use raw Sourcery, please refer to this section in documentation.

          Usage

          @@ -465,7 +483,7 @@

          3. Check invocations of methods, subscripts and properties - Verify

          @@ -528,21 +546,21 @@

          Documentation

          -

          Full documentation is available here, as well as through docs directory.

          +

          Full documentation is available here, as well as through docs directory.

          -

          Guides - Table of contents

          +

          Guides - Table of contents

          -

          Changelog is available here

          +

          Changelog is available here

          All supported features

          -

          For list all supported features, check documentation here or [guides][link-guides-features]

          +

          For list all supported features, check documentation here or [guides][link-guides-features]

          Examples of usage

          -

          For more examples, check out our example project, or examples section in guides.

          +

          For more examples, check out our example project, or examples section in guides.

          To run the example project, clone the repo, and run pod install from the Example directory first.

          diff --git a/docs/installation.html b/docs/installation.html index 19df0679..9aa9df99 100644 --- a/docs/installation.html +++ b/docs/installation.html @@ -13,7 +13,7 @@
          -

          SwiftyMocky 4.1.0-pre Docs (86% documented)

          +

          SwiftyMocky 4.1.0 Docs (86% documented)

          View on GitHub

          @@ -188,6 +188,9 @@ + @@ -281,11 +284,11 @@

          SwiftyMocky CLI

          Mint 🌱:

          > brew install mint
          -> mint install MakeAWishFoundation/SwiftyMocky-CLI
          +> mint install MakeAWishFoundation/SwiftyMocky
           

          Marathon 🏃:

          -
          > marathon install MakeAWishFoundation/SwiftyMocky-CLI
          +
          > marathon install MakeAWishFoundation/SwiftyMocky
           

          Make:

          @@ -345,7 +348,7 @@

          SwiftyMocky 4.1.0-pre

          -

          logo

          - -

          Join our community on Slack! -> [invitation link here][link-slack]

          +

          SwiftyMocky 4.1.0

          +

          logo

          -

          Check out guides, or full documentation

          +

          Check out guides, or full documentation

          Table of contents

            @@ -286,8 +287,8 @@

            Table of contents

          1. Getting started:
              -
            1. Installing SwiftyMocky CLI
            2. Integrating SwiftyMocky runtime into test target
            3. +
            4. Installation SwiftyMocky CLI
            5. Generate mocks
          2. Usage: @@ -312,9 +313,9 @@

            Table of contents

            Overview

            -

            SwiftyMocky is Lightweight, strongly typed framework for Mockito-like unit testing experience. As Swift doesn’t support reflections well enough to allow building mocks in runtime, library depends on Sourcery, that scans your source code and generates Mocks Swift code for you!

            +

            SwiftyMocky is a strongly typed framework for Mockito-like unit testing experience. Library depends on Sourcery, that scans your source code and generates Mocks Swift code for you!

            -

            The idea of SwiftyMocky is to automatically mock Swift protocols. The main features are:

            +

            The idea of SwiftyMocky is to automatically mock Swift protocols and protocol compositions. The main features are:

            • easy syntax, utilising full power of auto-complete, which makes writing test easier and faster
            • @@ -329,43 +330,31 @@

              Overview

            -

            Important!!! Version 4.x.x

            - -

            Current version has several significant changes. It removes deprecated methods (which might be breaking) and moves CLI to the new repository.

            - -

            We consider current version as stable. We are moving toward using the new Mockfile but the previous configuration format would be still supported. Library works with Swift 4.1, 4.2, 5.0, 5.1.2 and Sourcery 0.17-0.18.

            +

            Important!!! Version 4.1.x

            -

            While it is technically possible to integrate SwiftyMocky on Linux targets, there is no Mock generation feature there yet. You can use SwiftyMokcy runtime via SwiftPM though, as long as your are fine with generating mocks on mac machine.

            +

            CLI was moved bask to the main (this) repo. CLI in this repository will be supported at least until version 5.0.0.

            +

            Version 4.0.x

            -

            -

            Getting started

            +

            Current version has several significant changes. It removes deprecated methods (which might be breaking) and deprecates having CLI in the new repository.

            -

            To start working with SwiftyMocky you need to:

            +

            SwiftyPrototype was also extracted to separate library. There are no more compilation flags, so if you were relying on SwiftyMocky with -DMockyCustom, you will have to switch to SwiftyPrototype.

            -
              -
            1. Install CLI
            2. -
            3. Integrate SwiftyMocky runtime library
            4. -
            5. Generate Mocks and add to your test target
            6. -
            +

            We consider current version as stable. We are moving toward using the new Mockfile but the previous configuration format would be still supported. Library works with Swift 4.1, 4.2, 5.0, 5.1.2 and Sourcery 1.0.x.

            -

            -

            1. Installing SwiftyMocky CLI:

            +

            While it is technically possible to integrate SwiftyMocky on Linux targets, there is no Mock generation feature there yet. You can use SwiftyMokcy runtime via SwiftPM though, as long as your are fine with generating mocks on mac machine.

            +

            Migration from 3.2.0 and below

            -

            Mint 🌱:

            -
            > brew install mint
            -> mint install MakeAWishFoundation/SwiftyMocky-CLI
            -
            +

            The migration is not required, you can keep using SwiftyMocky as you did before. The Legacy setup is described in guides section.

            -

            Marathon 🏃:

            -
            > marathon install MakeAWishFoundation/SwiftyMocky-CLI
            +

            Still, we would encourage to try new CLI and share a feedback. We believe it will make using and setting up SwiftyMocky way easier. If you have an existing setup, install CLI as per this guide and try:

            +
            > swiftymocky migrate
             
            -

            Make:

            - -

            Clone from https://github.com/MakeAWishFoundation/SwiftyMockyCLI and run make in the root directory.

            +

            +

            Getting started

            -

            2. Integrating SwiftyMocky runtime into test target:

            +

            1. Integrating SwiftyMocky:

            CocoaPods:

            @@ -373,6 +362,13 @@

            2. I
            pod "SwiftyMocky"
             
            +

            Use CLI tool from your project directory:

            +
            # To setup initial Mockfile
            +% ./Pods/SwiftyMocky/bin/swiftymocky init
            +# To generate mocks
            +% ./Pods/SwiftyMocky/bin/swiftymocky generate
            +
            +

            Carthage:

            To install, add following to you Cartfile:

            @@ -381,34 +377,56 @@

            2. I

            Then execute carthage update

            -

            For Carthage, few additional steps are required ⚠️. For detailed install instructions, see full documentation or consult [Carthage documentation][carthage-adding-framework].

            +

            For Carthage, few additional steps are required ⚠️. For detailed install instructions, see full documentation or consult [Carthage documentation][carthage-adding-framework].

            + +

            You need to install CLI to generate mocks - see installation

            Swift Package Manager:

            Add SwiftyMocky to you Package.swift dependencies:

            dependencies: [
            -    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0-pre"),
            +    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0"),
             ]
             
            +

            You need to install CLI to generate mocks - see installation

            +

            Note: Examples of SwiftyMocky integration as a tool for Unit tests, as well as a Prototyping framework, are here: https://github.com/MakeAWishFoundation/SM-Integration-Tests

            +

            +

            2. Installing SwiftyMocky CLI:

            + +

            Mint 🌱:

            +
            > brew install mint
            +> mint install MakeAWishFoundation/SwiftyMocky
            +
            + +

            Marathon 🏃:

            +
            > marathon install MakeAWishFoundation/SwiftyMocky
            +
            + +

            Make:

            + +

            Clone from https://github.com/MakeAWishFoundation/SwiftyMockyCLI and run make in the root directory.

            + +
            +

            3. Generate mocks

            Annotate your protocols that are going to be mocked, making them adopt AutoMockable protocol, or adding annotation comment above their definition in the source code.

            -

            Mocks are generated from your project root directory, based on configuration inside Mockfile.

            +

            Mocks are generated from your project root directory, based on configuration inside Mockfile.

            > swiftymocky setup     # if you don't have a Mockfile yet
             > swiftymocky doctor    # validate your setup
             > swiftymocky generate  # generate mocks
             
            -

            More informations about CLI and mock generation

            +

            More informations about CLI and mock generation

            -

            If you don’t want to migrate to our CLI and prefer to use raw Sourcery, please refer to this section in documentation.

            +

            If you don’t want to migrate to our CLI and prefer to use raw Sourcery, please refer to this section in documentation.

            Usage

            @@ -465,7 +483,7 @@

            3. Check invocations of methods, subscripts and properties - Verify

            @@ -528,21 +546,21 @@

            Documentation

            -

            Full documentation is available here, as well as through docs directory.

            +

            Full documentation is available here, as well as through docs directory.

            -

            Guides - Table of contents

            +

            Guides - Table of contents

            -

            Changelog is available here

            +

            Changelog is available here

            All supported features

            -

            For list all supported features, check documentation here or [guides][link-guides-features]

            +

            For list all supported features, check documentation here or [guides][link-guides-features]

            Examples of usage

            -

            For more examples, check out our example project, or examples section in guides.

            +

            For more examples, check out our example project, or examples section in guides.

            To run the example project, clone the repo, and run pod install from the Example directory first.

            diff --git a/docs/prototyping.html b/docs/prototyping.html index 24ab1a1a..1b12c292 100644 --- a/docs/prototyping.html +++ b/docs/prototyping.html @@ -13,7 +13,7 @@
            -

            SwiftyMocky 4.1.0-pre Docs (86% documented)

            +

            SwiftyMocky 4.1.0 Docs (86% documented)

            View on GitHub

            @@ -188,6 +188,9 @@ + diff --git a/docs/search.json b/docs/search.json index 2745b158..4862a2d6 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV5valueypvp":{"name":"value","abstract":"

            [internal] Returned value

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV8intValueSivp":{"name":"intValue","abstract":"

            [internal] Used to describe attribute generocity (0 is general, 1 is specific)

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

            [internal] Used to compare with other attribute

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

            [internal] Used for formatting messages.

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV5value8intValue16shortDescription7compareACyp_SiSSSbyp_ypAA7MatcherCtctcfc":{"name":"init(value:intValue:shortDescription:compare:)","abstract":"

            [internal] Creates new TypeErasedAttribute instance, with specified return value and compare closure

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html":{"name":"TypeErasedAttribute","abstract":"

            [Internal] Used to wrap availability constrained attributes, since enum cases used ubternally to"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP5valueypvp":{"name":"value","abstract":"

            [internal] Returned value

            ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP03intE0Sivp":{"name":"intValue","abstract":"

            [internal] Used to describe attribute generocity (0 is general, 1 is specific)

            ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

            [internal] Used to compare with other generic attributes values

            ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

            [internal] Used for formatting messages.

            ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html":{"name":"TypeErasedValue","abstract":"

            [Internal] Used as generic constraint for generic method stubs.

            "},"Enums/Utils.html#/s:11SwiftyMocky5UtilsO19closestCallsMessage3for4nameSSSayAA7MatcherC16ComparisonResultVG_SStFZ":{"name":"closestCallsMessage(for:name:)","abstract":"

            Undocumented

            ","parent_name":"Utils"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO10invocationyA2CmF":{"name":"invocation","abstract":"

            Undocumented

            ","parent_name":"MockScope"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO5givenyA2CmF":{"name":"given","abstract":"

            Undocumented

            ","parent_name":"MockScope"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO7performyA2CmF":{"name":"perform","abstract":"

            Undocumented

            ","parent_name":"MockScope"},"Enums/MockScope.html":{"name":"MockScope","abstract":"

            Undocumented

            "},"Enums/Utils.html":{"name":"Utils","abstract":"

            Undocumented

            "},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC5valuexSgvp":{"name":"value","abstract":"

            Last captured value (if any)

            ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC9allValuesSayxGvp":{"name":"allValues","abstract":"

            All captured values

            ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorCACyxGycfc":{"name":"init()","abstract":"

            Undocumented

            ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC7capture5whereAA9ParameterOyxGSbxcSg_tF":{"name":"capture(where:)","abstract":"

            Return parameter matcher which captures the argument.

            ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html":{"name":"ArgumentCaptor","abstract":"

            Undocumented

            "},"contents.html":{"name":"Contents"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC7isValidSbvp":{"name":"isValid","abstract":"

            [Internal] Returns whether there are still products to be used as stub return values

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

            [Internal] Stubbing policy. By default uses parent mock policy

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodCyACSayAA11StubProductOGcfc":{"name":"init(_:)","abstract":"

            [Internal] Creates new method init with given products.

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC10getProduct6policyAA04StubF0OAA14StubbingPolicyO_tF":{"name":"getProduct(policy:)","abstract":"

            [Internal] Get next product, with respect to self.policy and inherited policy

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC4stub3forAA7StubberVyxGxm_tlF":{"name":"stub(for:)","abstract":"

            [Internal] New instance of stubber class, used to populate products array

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC10stubThrows3forAA07StubberF0VyxGxm_tlF":{"name":"stubThrows(for:)","abstract":"

            [Internal] New instance of stubber class, used to populate products array

            ","parent_name":"StubbedMethod"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO6returnyACypcACmF":{"name":"return(_:)","abstract":"

            Undocumented

            ","parent_name":"StubProduct"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO5throwyACs5Error_pcACmF":{"name":"throw(_:)","abstract":"

            Undocumented

            ","parent_name":"StubProduct"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO6castedxyKlF":{"name":"casted()","abstract":"

            [Internal] If self is returns, and nested value can be casted to T, returns value. Can fail (fatalError)

            ","parent_name":"StubProduct"},"Enums/MockError.html#/s:11SwiftyMocky9MockErrorO9notStubedyA2CmF":{"name":"notStubed","abstract":"

            Undocumented

            ","parent_name":"MockError"},"Extensions/UInt.html#/s:Su11SwiftyMockyE7matchesySbSiF":{"name":"matches(_:)","abstract":"

            Returns whether given count matches countable case.

            ","parent_name":"UInt"},"Extensions/Optional.html#/s:Sq11SwiftyMockyE6orFailyxSSF":{"name":"orFail(_:)","abstract":"

            Returns unwrapped value, or fails.

            ","parent_name":"Optional"},"Extensions/Optional.html#/s:s26ExpressibleByStringLiteralP0cD4TypeQa":{"name":"StringLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP0cdeF4TypeQa":{"name":"ExtendedGraphemeClusterLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s33ExpressibleByUnicodeScalarLiteralP0cdE4TypeQa":{"name":"UnicodeScalarLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP08extendeddeF0x0cdeF4TypeQz_tcfc":{"name":"init(extendedGraphemeClusterLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s33ExpressibleByUnicodeScalarLiteralP07unicodedE0x0cdE4TypeQz_tcfc":{"name":"init(unicodeScalarLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByIntegerLiteralP0cD4TypeQa":{"name":"IntegerLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByBooleanLiteralP0cD4TypeQa":{"name":"BooleanLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByBooleanLiteralP07booleanD0x0cD4TypeQz_tcfc":{"name":"init(booleanLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByFloatLiteralP0cD4TypeQa":{"name":"FloatLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc":{"name":"init(floatLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByArrayLiteralP0cD7ElementQa":{"name":"ArrayLiteralElement","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc":{"name":"init(arrayLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP3KeyQa":{"name":"Key","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP5ValueQa":{"name":"Value","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP010dictionaryD0x3KeyQz_5ValueQztd_tcfc":{"name":"init(dictionaryLiteral:)","parent_name":"Optional"},"Extensions/Int.html#/s:Si11SwiftyMockyE7matchesySbSiF":{"name":"matches(_:)","abstract":"

            Returns whether given count matches countable case.

            ","parent_name":"Int"},"Protocols/WithStubbingPolicy.html#/s:11SwiftyMocky18WithStubbingPolicyP6policyAA0dE0Ovp":{"name":"policy","abstract":"

            Stubbing policy

            ","parent_name":"WithStubbingPolicy"},"Protocols/WithStubbingPolicy.html#/s:11SwiftyMocky18WithStubbingPolicyP4withyxAA0dE0OF":{"name":"with(_:)","abstract":"

            [Internal] with new policy

            ","parent_name":"WithStubbingPolicy"},"Protocols/WithStaticSequencingPolicy.html#/s:11SwiftyMocky26WithStaticSequencingPolicyP010sequencingF0AA0eF0OvpZ":{"name":"sequencingPolicy","abstract":"

            Used sequencibg policy

            ","parent_name":"WithStaticSequencingPolicy"},"Protocols/WithSequencingPolicy.html#/s:11SwiftyMocky20WithSequencingPolicyP010sequencingE0AA0dE0Ovp":{"name":"sequencingPolicy","abstract":"

            Used sequencibg policy

            ","parent_name":"WithSequencingPolicy"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV3setyys5NeverOSScFZ":{"name":"set(_:)","abstract":"

            [Internal] Override handling error handler

            ","parent_name":"FatalErrorUtil"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV7restoreyyFZ":{"name":"restore()","abstract":"

            [Internal] Restores default handler

            ","parent_name":"FatalErrorUtil"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV05fatalD0ys5NeverOSSFZ":{"name":"fatalError(_:)","abstract":"

            [Internal] Perform fatal error handler

            ","parent_name":"FatalErrorUtil"},"Classes/SwiftyMockyTestObserver.html#/setup()":{"name":"setup()","abstract":"

            [Internal] No setup whatsoever

            ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/handleFatalError(message:file:line:)":{"name":"handleFatalError(message:file:line:)","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/s:11SwiftyMocky0aB12TestObserverC5setupyyFZ":{"name":"setup()","abstract":"

            Call this method to setup custom error handling for SwiftyMocky, that allows to gracefully handle missing stub fatal errors.","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/c:@M@SwiftyMocky@objc(cs)SwiftyMockyTestObserver(im)testCaseWillStart:":{"name":"testCaseWillStart(_:)","abstract":"

            [Internal] Observer for test start

            ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/c:@M@SwiftyMocky@objc(cs)SwiftyMockyTestObserver(im)testCaseDidFinish:":{"name":"testCaseDidFinish(_:)","abstract":"

            [Internal] Observer for test finished

            ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/s:11SwiftyMocky0aB12TestObserverC16handleFatalError7message4file4lineySS_s12StaticStringVSutFZ":{"name":"handleFatalError(message:file:line:)","abstract":"

            [Internal] used to notify about internal error. Do not call it directly.

            ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html":{"name":"SwiftyMockyTestObserver"},"Structs/FatalErrorUtil.html":{"name":"FatalErrorUtil","abstract":"

            [Internal] Used for handling fatal errors inside library.

            "},"Protocols/WithSequencingPolicy.html":{"name":"WithSequencingPolicy","abstract":"

            Has sequencing policy for stubbing methods

            "},"Protocols/WithStaticSequencingPolicy.html":{"name":"WithStaticSequencingPolicy","abstract":"

            Has sequencing policy for stubbing static methods

            "},"Protocols/WithStubbingPolicy.html":{"name":"WithStubbingPolicy","abstract":"

            [Internal] used for marking that stubs have configurable policy

            "},"Extensions/Int.html":{"name":"Int"},"Extensions/Optional.html":{"name":"Optional"},"Extensions/UInt.html":{"name":"UInt"},"Enums/MockError.html":{"name":"MockError","abstract":"

            [Internal] Generic Mock library errors

            "},"Enums/StubProduct.html":{"name":"StubProduct","abstract":"

            [Internal] Possible Given products. Method can either return or throw an error (in general)

            "},"Classes/StubbedMethod.html":{"name":"StubbedMethod","abstract":"

            [Internal] Allows to reduce Mock.generated.swif size, by moving part of implementation here.

            "},"Internal.html#/s:11SwiftyMocky7Failureys5NeverOSSF":{"name":"Failure(_:)","abstract":"

            [Internal] Fails flow with given message

            "},"Internal.html#/s:11SwiftyMocky0B6Assert__4file4lineySbyXK_SSyXKs12StaticStringVSutF":{"name":"MockyAssert(_:_:file:line:)","abstract":"

            [internal] Assertion used by mocks and Verify methods

            "},"Classes/MockyAssertion.html#/s:11SwiftyMocky0B9AssertionC7handlerySb_SSs12StaticStringVSutcSgvpZ":{"name":"handler","abstract":"

            You can use it to define assertion behaviour.","parent_name":"MockyAssertion"},"Helpers.html#/s:11SwiftyMocky20XCTAssertThrowsError_2of_4file4lineyxyKXK_q_mSSyXKs12StaticStringVSuts0E0R_r0_lF":{"name":"XCTAssertThrowsError(_:of:_:file:line:)","abstract":"

            Allows to verify if error was thrown, and if it is of given type.

            "},"Helpers.html#/s:11SwiftyMocky20XCTAssertThrowsError_5error_4file4lineyxyKXK_q_SSyXKs12StaticStringVSutSQR_s0E0R_r0_lF":{"name":"XCTAssertThrowsError(_:error:_:file:line:)","abstract":"

            Allows to verify if error was throws, and if its exactly the one expected.

            "},"Classes/MockyAssertion.html":{"name":"MockyAssertion","abstract":"

            You can use this class if there is need to define custom"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV5valueypvp":{"name":"value","abstract":"

            [internal] Returned value

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV8intValueSivp":{"name":"intValue","abstract":"

            [internal] Used to describe attribute generocity (0 is general, 1 is specific)

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

            [internal] Used to compare with other generic attributes

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

            [internal] Used for formatting messages.

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV5value8intValue16shortDescription7compareACyp_SiSSSbyp_ypAA7MatcherCtctcfc":{"name":"init(value:intValue:shortDescription:compare:)","abstract":"

            [internal] Creates new GenericAttribute instance, with specified return value and compare closure

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html":{"name":"GenericAttribute","abstract":"

            [Internal] Used to wrap generic parameters, for sake of generic method stubs.

            "},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

            Stubbing policy. If wrap - it will iterate over recorded values. If drop - it will remove value when stub returns. If default - it will use mock settings

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV_9returningACyxGAA13StubbedMethodC_xmtcfc":{"name":"init(_:returning:)","abstract":"

            [Internal] New instance of stubber class, used to populate products array

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6returnyyxF":{"name":"return(_:)","abstract":"

            Record return value

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6returnyyxd_tF":{"name":"return(_:)","abstract":"

            Record subsequent return values, in given order (comma separated)

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV5throwyys5Error_pF":{"name":"throw(_:)","abstract":"

            Record thrown error

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV5throwyys5Error_pd_tF":{"name":"throw(_:)","abstract":"

            Record subsequent thrown errors, in given order (comma separated)

            ","parent_name":"StubberThrows"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

            Stubbing policy. If wrap - it will iterate over recorded values. If drop - it will remove value when stub returns. If default - it will use mock settings

            ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV_9returningACyxGAA13StubbedMethodC_xmtcfc":{"name":"init(_:returning:)","abstract":"

            [Internal] New instance of stubber class, used to populate products array

            ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6returnyyxF":{"name":"return(_:)","abstract":"

            Record return value

            ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6returnyyxd_tF":{"name":"return(_:)","abstract":"

            Record subsequent return values, in given order (comma separated)

            ","parent_name":"Stubber"},"Enums/Count.html#/s:11SwiftyMocky5CountO21CustomMatchingClosurea":{"name":"CustomMatchingClosure","abstract":"

            Count matching closure

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO18IntegerLiteralTypea":{"name":"IntegerLiteralType","abstract":"

            [Internal] Count is represented by integer literals, with type Int

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11atLeastOnceyA2CmF":{"name":"atLeastOnce","abstract":"

            Called at least once

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4onceyA2CmF":{"name":"once","abstract":"

            Called exactly once

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO6customyACSbSiccACmF":{"name":"custom(_:)","abstract":"

            Custom count resolving closure

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO7exactlyyACSicACmF":{"name":"exactly(_:)","abstract":"

            Called exactly n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4fromyACSi_SitcACmF":{"name":"from(_:to:)","abstract":"

            Called in a…b range

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4lessyACSi_tcACmF":{"name":"less(than:)","abstract":"

            Called less than n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11lessOrEqualyACSi_tcACmF":{"name":"lessOrEqual(to:)","abstract":"

            Called less than ot equal to n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4moreyACSi_tcACmF":{"name":"more(than:)","abstract":"

            Called more than n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11moreOrEqualyACSi_tcACmF":{"name":"moreOrEqual(to:)","abstract":"

            Called more than ot equal to n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO5neveryA2CmF":{"name":"never","abstract":"

            Never called

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO14integerLiteralACSi_tcfc":{"name":"init(integerLiteral:)","abstract":"

            Creates new count instance, matching specific count

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11descriptionSSvp":{"name":"description","abstract":"

            Human readable description

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO7matchesySbSiF":{"name":"matches(_:)","abstract":"

            Returns whether given count matches countable case.

            ","parent_name":"Count"},"Protocols/Countable.html#/s:11SwiftyMocky9CountableP7matchesySbSiF":{"name":"matches(_:)","abstract":"

            Returns whether given count matches countable case.

            ","parent_name":"Countable"},"Classes/Matcher/ParameterComparisonResult.html#/s:11SwiftyMocky7MatcherC25ParameterComparisonResultVyAESb_AA0D0OyxGAGyq_GSStcr0_lufc":{"name":"init(_:_:_:_:)","abstract":"

            Undocumented

            ","parent_name":"ParameterComparisonResult"},"Classes/Matcher/ParameterComparisonResult.html#/s:11SwiftyMocky7MatcherC25ParameterComparisonResultV12resultStringSSvp":{"name":"resultString","abstract":"

            Undocumented

            ","parent_name":"ParameterComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7matchedSivp":{"name":"matched","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV5totalSivp":{"name":"total","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7resultsSayAC09ParameterdE0VGvp":{"name":"results","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV10percentageSfvp":{"name":"percentage","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV16percentageStringSSvp":{"name":"percentageString","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV11isFullMatchSbvp":{"name":"isFullMatch","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7isMatchSbvp":{"name":"isMatch","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultVyAESayAC09ParameterdE0VGcfc":{"name":"init(_:)","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7matched5totalAESi_Sitcfc":{"name":"init(matched:total:)","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV5matchAEvpZ":{"name":"match","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV4noneAEvpZ":{"name":"none","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV12resultStringySSSi_SStF":{"name":"resultString(_:_:)","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC7defaultACvpZ":{"name":"default","abstract":"

            Shared Matcher instance

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC17fatalErrorHandleryySS_s12StaticStringVSutcvpZ":{"name":"fatalErrorHandler","abstract":"

            [Internal] matcher fatal error handler

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherCACycfc":{"name":"init()","abstract":"

            Create new clean matcher instance.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC7matcherA2C_tcfc":{"name":"init(matcher:)","abstract":"

            Creante new matcher instance, copying existing comparator from another instance.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC3set4file4lineys12StaticStringVSg_SuSgtF":{"name":"set(file:line:)","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC23setupCorrentFileAndLine4file4lineys12StaticStringV_SutF":{"name":"setupCorrentFileAndLine(file:line:)","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC16clearFileAndLineyyF":{"name":"clearFileAndLine()","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC14onFatalFailureyySSF":{"name":"onFatalFailure(_:)","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8register_5matchyxm_Sbx_xtctlF":{"name":"register(_:match:)","abstract":"

            Registers comparator for given type T.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8registeryyxmmlF":{"name":"register(_:)","abstract":"

            Registers comparator for type, like comparing Int.self to Int.self. These types of comparators always returns true. Register like: Matcher.default.register(CustomType.Type.self)

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8registeryyxmSQRzlF":{"name":"register(_:)","abstract":"

            Register default comparatot for Equatable types. Required for generic mocks to work.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tlF":{"name":"comparator(for:)","abstract":"

            Returns comparator closure for given type (if any).

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSTRzlF":{"name":"comparator(for:)","abstract":"

            Default Sequence comparator, compares count, and then depending on sequence type:

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSQRzlF":{"name":"comparator(for:)","abstract":"

            Default Equatable comparator, compares if elements are equal.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSQRzSTRzlF":{"name":"comparator(for:)","abstract":"

            Default Equatable Sequence comparator, compares count, and then for every element equal element.

            ","parent_name":"Matcher"},"Classes/Matcher/ComparisonResult.html":{"name":"ComparisonResult","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher/ParameterComparisonResult.html":{"name":"ParameterComparisonResult","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO1_yACyxGAEmlF":{"name":"_","abstract":"

            Wildcard - any value

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO5valueyACyxGxcAEmlF":{"name":"value(_:)","abstract":"

            Explicit value

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO8matchingyACyxGSbxccAEmlF":{"name":"matching(_:)","abstract":"

            Any value matching

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3anyACyxGvpZ":{"name":"any","abstract":"

            Represents and matches any parameter value - syntactic sugar for ._ case.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3anyyACyqd__Gqd__mlFZ":{"name":"any(_:)","abstract":"

            Represents and matches any parameter value - syntactic sugar for ._ case. Used, when needs to explicitely specify","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

            Undocumented

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAARlzClE12sameInstance2asACyxGqd___tRld__ClFZ":{"name":"sameInstance(as:)","abstract":"

            Represents and matches values on an same instance basis.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAARlzClE10isInstance2ofACyxGqd__m_tRld__ClFZ":{"name":"isInstance(of:)","abstract":"

            Represents and matches whether parameter is of specific type, using is operator.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3allyACyxGAEd_tFZ":{"name":"all(_:)","abstract":"

            Allows combining multiple Parameter constraints into one Parameter constraint.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOA2A15TypeErasedValueRzlE03intF0Sivp":{"name":"intValue","abstract":"

            Used for invocations sorting purpose.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO8intValueSivp":{"name":"intValue","abstract":"

            Used for invocations sorting purpose.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:s26ExpressibleByStringLiteralP0cD4TypeQa":{"name":"StringLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP0cdeF4TypeQa":{"name":"ExtendedGraphemeClusterLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s33ExpressibleByUnicodeScalarLiteralP0cdE4TypeQa":{"name":"UnicodeScalarLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP08extendeddeF0x0cdeF4TypeQz_tcfc":{"name":"init(extendedGraphemeClusterLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s33ExpressibleByUnicodeScalarLiteralP07unicodedE0x0cdE4TypeQz_tcfc":{"name":"init(unicodeScalarLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s23ExpressibleByNilLiteralP03nilD0xyt_tcfc":{"name":"init(nilLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByIntegerLiteralP0cD4TypeQa":{"name":"IntegerLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByBooleanLiteralP0cD4TypeQa":{"name":"BooleanLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByBooleanLiteralP07booleanD0x0cD4TypeQz_tcfc":{"name":"init(booleanLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByFloatLiteralP0cD4TypeQa":{"name":"FloatLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc":{"name":"init(floatLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByArrayLiteralP0cD7ElementQa":{"name":"ArrayLiteralElement","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc":{"name":"init(arrayLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP3KeyQa":{"name":"Key","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP5ValueQa":{"name":"Value","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP010dictionaryD0x3KeyQz_5ValueQztd_tcfc":{"name":"init(dictionaryLiteral:)","parent_name":"Parameter"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C5GivenQa":{"name":"StaticGiven","abstract":"

            Stubbed method and property type

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C6VerifyQa":{"name":"StaticVerify","abstract":"

            Verification type

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C7PerformQa":{"name":"StaticPerform","abstract":"

            Perform type

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP5givenyy0C5GivenQzFZ":{"name":"given(_:)","abstract":"

            Registers return value for stubbed method, for specified attributes set.

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP7performyy0C7PerformQzFZ":{"name":"perform(_:)","abstract":"

            Registers perform closure, which will be executed upon calling stubbed method, for specified attribtes.

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP6verify_5count4file4liney0C6VerifyQz_AA5CountOs0C6StringVSutFZ":{"name":"verify(_:count:file:line:)","abstract":"

            Verifies, that given method stub was called exact number of times.

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP05resetD0yyAA0D5ScopeOd_tFZ":{"name":"resetMock(_:)","abstract":"

            Clear mock internals. You can specify what to clear (invocations aka verify, givens or performs)","parent_name":"StaticMock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP5GivenQa":{"name":"Given","abstract":"

            Stubbed method and property type

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP6VerifyQa":{"name":"Verify","abstract":"

            Verification type

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP7PerformQa":{"name":"Perform","abstract":"

            Perform type

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP5givenyy5GivenQzF":{"name":"given(_:)","abstract":"

            Registers return value for stubbed method, for specified attributes set.

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP7performyy7PerformQzF":{"name":"perform(_:)","abstract":"

            Registers perform closure, which will be executed upon calling stubbed method, for specified attribtes.

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP6verify_5count4file4liney6VerifyQz_AA5CountOs12StaticStringVSutF":{"name":"verify(_:count:file:line:)","abstract":"

            Verifies, that given method stub was called exact number of times.

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP05resetC0yyAA0C5ScopeOd_tF":{"name":"resetMock(_:)","abstract":"

            Clear mock internals. You can specify what to clear (invocations aka verify, givens or performs)","parent_name":"Mock"},"Protocols/Mock.html":{"name":"Mock","abstract":"

            Every generated mock implementation adopts Mock protocol."},"Protocols/StaticMock.html":{"name":"StaticMock","abstract":"

            Every mock, that stubs static methods, should adopt StaticMock protocol."},"Enums/Parameter.html":{"name":"Parameter","abstract":"

            Parameter wraps method attribute, allowing to make a difference between explicit value,"},"Classes/Matcher.html":{"name":"Matcher","abstract":"

            Matcher is container class, responsible for storing and resolving comparators for given types.

            "},"Protocols/Countable.html":{"name":"Countable","abstract":"

            Allows matching count, verifying whether given count is right or not

            "},"Enums/Count.html":{"name":"Count","abstract":"

            Count enum. Use it for all Verify features, when checking how many times something happened.

            "},"Structs/Stubber.html":{"name":"Stubber","abstract":"

            Used to populate stubbed method with sequence of events. Call it’s methods, to record subsequent stub return values.

            "},"Structs/StubberThrows.html":{"name":"StubberThrows","abstract":"

            Used to populate stubbed method with sequence of events. Call it’s methods, to record subsequent stub return/throw values.

            "},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO24lastWrittenResolvedFirstyA2CmF":{"name":"lastWrittenResolvedFirst","abstract":"

            Default policy. Last given overrides previous, if they are both with same generocity level

            ","parent_name":"SequencingPolicy"},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO14inWritingOrderyA2CmF":{"name":"inWritingOrder","abstract":"

            Givens would be recalled in order of generocity, respecting writing order (first line resolved first)

            ","parent_name":"SequencingPolicy"},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO6sorted_2bySayxGAF_Sbx_xtXEtlF":{"name":"sorted(_:by:)","abstract":"

            [Internal] Sorts stub return values / errors throw with respect to ordering rule and policy

            ","parent_name":"SequencingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO7defaultyA2CmF":{"name":"default","abstract":"

            Use current policy specified for Mock method type

            ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4wrapyA2CmF":{"name":"wrap","abstract":"

            Default policy in general. When reaching end of sequence of events, index will rewind to beginning (looping)

            ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4dropyA2CmF":{"name":"drop","abstract":"

            With this policy, every call drops event. When events count reaches zero, given is removed from mock.

            ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4realyA2CF":{"name":"real(_:)","abstract":"

            [Internal] Resolves used policy. If self is default, will use inherited, otherwise self

            ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO7updated_4withS2i_SitF":{"name":"updated(_:with:)","abstract":"

            [Internal] Computes new index for stubs array. For wrap will rewind if out of bounds, for drop will not.","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html":{"name":"StubbingPolicy","abstract":"

            Given Policy for treating sequence of events (products). Used to determine if stub return values should be consumed"},"Enums/SequencingPolicy.html":{"name":"SequencingPolicy","abstract":"

            Sequencing policy - in which order Given would be resolved. Pleas ehve in mind that this policy is applied ONLY after"},"Global%20methods.html#/s:11SwiftyMocky5Givenyyx_ABQzAA14StubbingPolicyOtAA4MockRzlF":{"name":"Given(_:_:_:)","abstract":"

            Setup return value for method stubs in mock instance. When this method will be called on mock, it"},"Global%20methods.html#/s:11SwiftyMocky5Givenyyxm_06StaticC0QzAA14StubbingPolicyOtAA0D4MockRzlF":{"name":"Given(_:_:_:)","abstract":"

            Setup return value for static method stubs on mock type. When this static method will be called, it"},"Global%20methods.html#/s:11SwiftyMocky7Performyyx_ABQztAA4MockRzlF":{"name":"Perform(_:_:)","abstract":"

            Setup perform closure for method stubs in mock instance. When this method will be called on mock, it"},"Global%20methods.html#/s:11SwiftyMocky7Performyyxm_06StaticC0QztAA0D4MockRzlF":{"name":"Perform(_:_:)","abstract":"

            Setup perform closure for static method stubs for mock type. When this method will be called on mock type, it"},"Global%20methods.html#/s:11SwiftyMocky6Verify__4file4lineyx_ABQzs12StaticStringVSutAA4MockRzlF":{"name":"Verify(_:_:file:line:)","abstract":"

            Verify that given method was called on mock object at least once.

            "},"Global%20methods.html#/s:11SwiftyMocky6Verify__4file4lineyxm_06StaticC0Qzs0F6StringVSutAA0F4MockRzlF":{"name":"Verify(_:_:file:line:)","abstract":"

            Verify that given static method was called on mock type at least once.

            "},"Global%20methods.html#/s:11SwiftyMocky6Verify___4file4lineyx_AA5CountOABQzs12StaticStringVSutAA4MockRzlF":{"name":"Verify(_:_:_:file:line:)","abstract":"

            Verify that given method was called on mock object exact number of times.

            "},"Global%20methods.html#/s:11SwiftyMocky6Verify___4file4lineyxm_AA5CountO06StaticC0Qzs0G6StringVSutAA0G4MockRzlF":{"name":"Verify(_:_:_:file:line:)","abstract":"

            Verify that given static method was called on mock type exact number of times.

            "},"matcher-support-for-not-equatable.html":{"name":"Matcher support for not Equatable"},"handling-generics.html":{"name":"Handling Generics"},"examples.html":{"name":"Examples"},"legacy.html":{"name":"Legacy"},"add-xcode-generate-action.html":{"name":"Add XCode generate action"},"known-issues.html":{"name":"Known issues"},"changelog.html":{"name":"CHANGELOG"},"overview.html":{"name":"Overview"},"installation.html":{"name":"Installation"},"setup-in-project.html":{"name":"Setup in project"},"mockfile.html":{"name":"Mockfile"},"command-line-interface.html":{"name":"Command Line Interface"},"supported-features.html":{"name":"Supported features"},"prototyping.html":{"name":"Prototyping"},"Main%20Guides.html":{"name":"Main Guides"},"Additional%20Guides.html":{"name":"Additional Guides"},"Global%20methods.html":{"name":"Global methods"},"Configuration.html":{"name":"Configuration"},"Types.html":{"name":"Types"},"Generics.html":{"name":"Generics"},"Helpers.html":{"name":"Helpers"},"Internal.html":{"name":"Internal"},"Other%20Guides.html":{"name":"Other Guides","abstract":"

            The following guides are available globally.

            "},"Other%20Classes.html":{"name":"Other Classes","abstract":"

            The following classes are available globally.

            "},"Other%20Enums.html":{"name":"Other Enumerations","abstract":"

            The following enumerations are available globally.

            "},"Other%20Protocols.html":{"name":"Other Protocols","abstract":"

            The following protocols are available globally.

            "},"Other%20Structs.html":{"name":"Other Structures","abstract":"

            The following structures are available globally.

            "}} \ No newline at end of file +{"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV5valueypvp":{"name":"value","abstract":"

            [internal] Returned value

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV8intValueSivp":{"name":"intValue","abstract":"

            [internal] Used to describe attribute generocity (0 is general, 1 is specific)

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

            [internal] Used to compare with other attribute

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

            [internal] Used for formatting messages.

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html#/s:11SwiftyMocky19TypeErasedAttributeV5value8intValue16shortDescription7compareACyp_SiSSSbyp_ypAA7MatcherCtctcfc":{"name":"init(value:intValue:shortDescription:compare:)","abstract":"

            [internal] Creates new TypeErasedAttribute instance, with specified return value and compare closure

            ","parent_name":"TypeErasedAttribute"},"Structs/TypeErasedAttribute.html":{"name":"TypeErasedAttribute","abstract":"

            [Internal] Used to wrap availability constrained attributes, since enum cases used ubternally to"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP5valueypvp":{"name":"value","abstract":"

            [internal] Returned value

            ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP03intE0Sivp":{"name":"intValue","abstract":"

            [internal] Used to describe attribute generocity (0 is general, 1 is specific)

            ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

            [internal] Used to compare with other generic attributes values

            ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html#/s:11SwiftyMocky15TypeErasedValueP16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

            [internal] Used for formatting messages.

            ","parent_name":"TypeErasedValue"},"Protocols/TypeErasedValue.html":{"name":"TypeErasedValue","abstract":"

            [Internal] Used as generic constraint for generic method stubs.

            "},"Enums/Utils.html#/s:11SwiftyMocky5UtilsO19closestCallsMessage3for4nameSSSayAA7MatcherC16ComparisonResultVG_SStFZ":{"name":"closestCallsMessage(for:name:)","abstract":"

            Undocumented

            ","parent_name":"Utils"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO10invocationyA2CmF":{"name":"invocation","abstract":"

            Undocumented

            ","parent_name":"MockScope"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO5givenyA2CmF":{"name":"given","abstract":"

            Undocumented

            ","parent_name":"MockScope"},"Enums/MockScope.html#/s:11SwiftyMocky9MockScopeO7performyA2CmF":{"name":"perform","abstract":"

            Undocumented

            ","parent_name":"MockScope"},"Enums/MockScope.html":{"name":"MockScope","abstract":"

            Undocumented

            "},"Enums/Utils.html":{"name":"Utils","abstract":"

            Undocumented

            "},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC5valuexSgvp":{"name":"value","abstract":"

            Last captured value (if any)

            ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC9allValuesSayxGvp":{"name":"allValues","abstract":"

            All captured values

            ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorCACyxGycfc":{"name":"init()","abstract":"

            Undocumented

            ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html#/s:11SwiftyMocky14ArgumentCaptorC7capture5whereAA9ParameterOyxGSbxcSg_tF":{"name":"capture(where:)","abstract":"

            Return parameter matcher which captures the argument.

            ","parent_name":"ArgumentCaptor"},"Classes/ArgumentCaptor.html":{"name":"ArgumentCaptor","abstract":"

            Undocumented

            "},"contents.html":{"name":"Contents"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC7isValidSbvp":{"name":"isValid","abstract":"

            [Internal] Returns whether there are still products to be used as stub return values

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

            [Internal] Stubbing policy. By default uses parent mock policy

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodCyACSayAA11StubProductOGcfc":{"name":"init(_:)","abstract":"

            [Internal] Creates new method init with given products.

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC10getProduct6policyAA04StubF0OAA14StubbingPolicyO_tF":{"name":"getProduct(policy:)","abstract":"

            [Internal] Get next product, with respect to self.policy and inherited policy

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC4stub3forAA7StubberVyxGxm_tlF":{"name":"stub(for:)","abstract":"

            [Internal] New instance of stubber class, used to populate products array

            ","parent_name":"StubbedMethod"},"Classes/StubbedMethod.html#/s:11SwiftyMocky13StubbedMethodC10stubThrows3forAA07StubberF0VyxGxm_tlF":{"name":"stubThrows(for:)","abstract":"

            [Internal] New instance of stubber class, used to populate products array

            ","parent_name":"StubbedMethod"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO6returnyACypcACmF":{"name":"return(_:)","abstract":"

            Undocumented

            ","parent_name":"StubProduct"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO5throwyACs5Error_pcACmF":{"name":"throw(_:)","abstract":"

            Undocumented

            ","parent_name":"StubProduct"},"Enums/StubProduct.html#/s:11SwiftyMocky11StubProductO6castedxyKlF":{"name":"casted()","abstract":"

            [Internal] If self is returns, and nested value can be casted to T, returns value. Can fail (fatalError)

            ","parent_name":"StubProduct"},"Enums/MockError.html#/s:11SwiftyMocky9MockErrorO9notStubedyA2CmF":{"name":"notStubed","abstract":"

            Undocumented

            ","parent_name":"MockError"},"Extensions/UInt.html#/s:Su11SwiftyMockyE7matchesySbSiF":{"name":"matches(_:)","abstract":"

            Returns whether given count matches countable case.

            ","parent_name":"UInt"},"Extensions/Optional.html#/s:Sq11SwiftyMockyE6orFailyxSSF":{"name":"orFail(_:)","abstract":"

            Returns unwrapped value, or fails.

            ","parent_name":"Optional"},"Extensions/Optional.html#/s:Sq11SwiftyMockyE8isNotNilSbvp":{"name":"isNotNil","abstract":"

            Undocumented

            ","parent_name":"Optional"},"Extensions/Optional.html#/s:s26ExpressibleByStringLiteralP0cD4TypeQa":{"name":"StringLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP0cdeF4TypeQa":{"name":"ExtendedGraphemeClusterLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s33ExpressibleByUnicodeScalarLiteralP0cdE4TypeQa":{"name":"UnicodeScalarLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP08extendeddeF0x0cdeF4TypeQz_tcfc":{"name":"init(extendedGraphemeClusterLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s33ExpressibleByUnicodeScalarLiteralP07unicodedE0x0cdE4TypeQz_tcfc":{"name":"init(unicodeScalarLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByIntegerLiteralP0cD4TypeQa":{"name":"IntegerLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByBooleanLiteralP0cD4TypeQa":{"name":"BooleanLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s27ExpressibleByBooleanLiteralP07booleanD0x0cD4TypeQz_tcfc":{"name":"init(booleanLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByFloatLiteralP0cD4TypeQa":{"name":"FloatLiteralType","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc":{"name":"init(floatLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByArrayLiteralP0cD7ElementQa":{"name":"ArrayLiteralElement","parent_name":"Optional"},"Extensions/Optional.html#/s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc":{"name":"init(arrayLiteral:)","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP3KeyQa":{"name":"Key","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP5ValueQa":{"name":"Value","parent_name":"Optional"},"Extensions/Optional.html#/s:s30ExpressibleByDictionaryLiteralP010dictionaryD0x3KeyQz_5ValueQztd_tcfc":{"name":"init(dictionaryLiteral:)","parent_name":"Optional"},"Extensions/Int.html#/s:Si11SwiftyMockyE7matchesySbSiF":{"name":"matches(_:)","abstract":"

            Returns whether given count matches countable case.

            ","parent_name":"Int"},"Protocols/WithStubbingPolicy.html#/s:11SwiftyMocky18WithStubbingPolicyP6policyAA0dE0Ovp":{"name":"policy","abstract":"

            Stubbing policy

            ","parent_name":"WithStubbingPolicy"},"Protocols/WithStubbingPolicy.html#/s:11SwiftyMocky18WithStubbingPolicyP4withyxAA0dE0OF":{"name":"with(_:)","abstract":"

            [Internal] with new policy

            ","parent_name":"WithStubbingPolicy"},"Protocols/WithStaticSequencingPolicy.html#/s:11SwiftyMocky26WithStaticSequencingPolicyP010sequencingF0AA0eF0OvpZ":{"name":"sequencingPolicy","abstract":"

            Used sequencibg policy

            ","parent_name":"WithStaticSequencingPolicy"},"Protocols/WithSequencingPolicy.html#/s:11SwiftyMocky20WithSequencingPolicyP010sequencingE0AA0dE0Ovp":{"name":"sequencingPolicy","abstract":"

            Used sequencibg policy

            ","parent_name":"WithSequencingPolicy"},"Protocols/OptionalType.html#/s:11SwiftyMocky12OptionalTypeP8isNotNilSbvp":{"name":"isNotNil","abstract":"

            Undocumented

            ","parent_name":"OptionalType"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV3setyys5NeverOSScFZ":{"name":"set(_:)","abstract":"

            [Internal] Override handling error handler

            ","parent_name":"FatalErrorUtil"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV7restoreyyFZ":{"name":"restore()","abstract":"

            [Internal] Restores default handler

            ","parent_name":"FatalErrorUtil"},"Structs/FatalErrorUtil.html#/s:11SwiftyMocky14FatalErrorUtilV05fatalD0ys5NeverOSSFZ":{"name":"fatalError(_:)","abstract":"

            [Internal] Perform fatal error handler

            ","parent_name":"FatalErrorUtil"},"Classes/SwiftyMockyTestObserver.html#/setup()":{"name":"setup()","abstract":"

            [Internal] No setup whatsoever

            ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/handleFatalError(message:file:line:)":{"name":"handleFatalError(message:file:line:)","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/s:11SwiftyMocky0aB12TestObserverC5setupyyFZ":{"name":"setup()","abstract":"

            Call this method to setup custom error handling for SwiftyMocky, that allows to gracefully handle missing stub fatal errors.","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/c:@M@SwiftyMocky@objc(cs)SwiftyMockyTestObserver(im)testCaseWillStart:":{"name":"testCaseWillStart(_:)","abstract":"

            [Internal] Observer for test start

            ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/c:@M@SwiftyMocky@objc(cs)SwiftyMockyTestObserver(im)testCaseDidFinish:":{"name":"testCaseDidFinish(_:)","abstract":"

            [Internal] Observer for test finished

            ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html#/s:11SwiftyMocky0aB12TestObserverC16handleFatalError7message4file4lineySS_s12StaticStringVSutFZ":{"name":"handleFatalError(message:file:line:)","abstract":"

            [Internal] used to notify about internal error. Do not call it directly.

            ","parent_name":"SwiftyMockyTestObserver"},"Classes/SwiftyMockyTestObserver.html":{"name":"SwiftyMockyTestObserver"},"Structs/FatalErrorUtil.html":{"name":"FatalErrorUtil","abstract":"

            [Internal] Used for handling fatal errors inside library.

            "},"Protocols/OptionalType.html":{"name":"OptionalType","abstract":"

            Protocol around Optional, allowing additional checks and features on Paramater where value is optional.

            "},"Protocols/WithSequencingPolicy.html":{"name":"WithSequencingPolicy","abstract":"

            Has sequencing policy for stubbing methods

            "},"Protocols/WithStaticSequencingPolicy.html":{"name":"WithStaticSequencingPolicy","abstract":"

            Has sequencing policy for stubbing static methods

            "},"Protocols/WithStubbingPolicy.html":{"name":"WithStubbingPolicy","abstract":"

            [Internal] used for marking that stubs have configurable policy

            "},"Extensions/Int.html":{"name":"Int"},"Extensions/Optional.html":{"name":"Optional"},"Extensions/UInt.html":{"name":"UInt"},"Enums/MockError.html":{"name":"MockError","abstract":"

            [Internal] Generic Mock library errors

            "},"Enums/StubProduct.html":{"name":"StubProduct","abstract":"

            [Internal] Possible Given products. Method can either return or throw an error (in general)

            "},"Classes/StubbedMethod.html":{"name":"StubbedMethod","abstract":"

            [Internal] Allows to reduce Mock.generated.swif size, by moving part of implementation here.

            "},"Internal.html#/s:11SwiftyMocky7Failureys5NeverOSSF":{"name":"Failure(_:)","abstract":"

            [Internal] Fails flow with given message

            "},"Internal.html#/s:11SwiftyMocky0B6Assert__4file4lineySbyXK_SSyXKs12StaticStringVSutF":{"name":"MockyAssert(_:_:file:line:)","abstract":"

            [internal] Assertion used by mocks and Verify methods

            "},"Classes/MockyAssertion.html#/s:11SwiftyMocky0B9AssertionC7handlerySb_SSs12StaticStringVSutcSgvpZ":{"name":"handler","abstract":"

            You can use it to define assertion behaviour.","parent_name":"MockyAssertion"},"Helpers.html#/s:11SwiftyMocky20XCTAssertThrowsError_2of_4file4lineyxyKXK_q_mSSyXKs12StaticStringVSuts0E0R_r0_lF":{"name":"XCTAssertThrowsError(_:of:_:file:line:)","abstract":"

            Allows to verify if error was thrown, and if it is of given type.

            "},"Helpers.html#/s:11SwiftyMocky20XCTAssertThrowsError_5error_4file4lineyxyKXK_q_SSyXKs12StaticStringVSutSQR_s0E0R_r0_lF":{"name":"XCTAssertThrowsError(_:error:_:file:line:)","abstract":"

            Allows to verify if error was throws, and if its exactly the one expected.

            "},"Classes/MockyAssertion.html":{"name":"MockyAssertion","abstract":"

            You can use this class if there is need to define custom"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV5valueypvp":{"name":"value","abstract":"

            [internal] Returned value

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV8intValueSivp":{"name":"intValue","abstract":"

            [internal] Used to describe attribute generocity (0 is general, 1 is specific)

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV7compareySbyp_ypAA7MatcherCtcvp":{"name":"compare","abstract":"

            [internal] Used to compare with other generic attributes

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

            [internal] Used for formatting messages.

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html#/s:11SwiftyMocky16GenericAttributeV5value8intValue16shortDescription7compareACyp_SiSSSbyp_ypAA7MatcherCtctcfc":{"name":"init(value:intValue:shortDescription:compare:)","abstract":"

            [internal] Creates new GenericAttribute instance, with specified return value and compare closure

            ","parent_name":"GenericAttribute"},"Structs/GenericAttribute.html":{"name":"GenericAttribute","abstract":"

            [Internal] Used to wrap generic parameters, for sake of generic method stubs.

            "},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

            Stubbing policy. If wrap - it will iterate over recorded values. If drop - it will remove value when stub returns. If default - it will use mock settings

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV_9returningACyxGAA13StubbedMethodC_xmtcfc":{"name":"init(_:returning:)","abstract":"

            [Internal] New instance of stubber class, used to populate products array

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6returnyyxF":{"name":"return(_:)","abstract":"

            Record return value

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV6returnyyxd_tF":{"name":"return(_:)","abstract":"

            Record subsequent return values, in given order (comma separated)

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV5throwyys5Error_pF":{"name":"throw(_:)","abstract":"

            Record thrown error

            ","parent_name":"StubberThrows"},"Structs/StubberThrows.html#/s:11SwiftyMocky13StubberThrowsV5throwyys5Error_pd_tF":{"name":"throw(_:)","abstract":"

            Record subsequent thrown errors, in given order (comma separated)

            ","parent_name":"StubberThrows"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6policyAA14StubbingPolicyOvp":{"name":"policy","abstract":"

            Stubbing policy. If wrap - it will iterate over recorded values. If drop - it will remove value when stub returns. If default - it will use mock settings

            ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV_9returningACyxGAA13StubbedMethodC_xmtcfc":{"name":"init(_:returning:)","abstract":"

            [Internal] New instance of stubber class, used to populate products array

            ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6returnyyxF":{"name":"return(_:)","abstract":"

            Record return value

            ","parent_name":"Stubber"},"Structs/Stubber.html#/s:11SwiftyMocky7StubberV6returnyyxd_tF":{"name":"return(_:)","abstract":"

            Record subsequent return values, in given order (comma separated)

            ","parent_name":"Stubber"},"Enums/Count.html#/s:11SwiftyMocky5CountO21CustomMatchingClosurea":{"name":"CustomMatchingClosure","abstract":"

            Count matching closure

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO18IntegerLiteralTypea":{"name":"IntegerLiteralType","abstract":"

            [Internal] Count is represented by integer literals, with type Int

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11atLeastOnceyA2CmF":{"name":"atLeastOnce","abstract":"

            Called at least once

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4onceyA2CmF":{"name":"once","abstract":"

            Called exactly once

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO6customyACSbSiccACmF":{"name":"custom(_:)","abstract":"

            Custom count resolving closure

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO7exactlyyACSicACmF":{"name":"exactly(_:)","abstract":"

            Called exactly n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4fromyACSi_SitcACmF":{"name":"from(_:to:)","abstract":"

            Called in a…b range

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4lessyACSi_tcACmF":{"name":"less(than:)","abstract":"

            Called less than n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11lessOrEqualyACSi_tcACmF":{"name":"lessOrEqual(to:)","abstract":"

            Called less than ot equal to n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO4moreyACSi_tcACmF":{"name":"more(than:)","abstract":"

            Called more than n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11moreOrEqualyACSi_tcACmF":{"name":"moreOrEqual(to:)","abstract":"

            Called more than ot equal to n times

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO5neveryA2CmF":{"name":"never","abstract":"

            Never called

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO14integerLiteralACSi_tcfc":{"name":"init(integerLiteral:)","abstract":"

            Creates new count instance, matching specific count

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO11descriptionSSvp":{"name":"description","abstract":"

            Human readable description

            ","parent_name":"Count"},"Enums/Count.html#/s:11SwiftyMocky5CountO7matchesySbSiF":{"name":"matches(_:)","abstract":"

            Returns whether given count matches countable case.

            ","parent_name":"Count"},"Protocols/Countable.html#/s:11SwiftyMocky9CountableP7matchesySbSiF":{"name":"matches(_:)","abstract":"

            Returns whether given count matches countable case.

            ","parent_name":"Countable"},"Classes/Matcher/ParameterComparisonResult.html#/s:11SwiftyMocky7MatcherC25ParameterComparisonResultVyAESb_AA0D0OyxGAGyq_GSStcr0_lufc":{"name":"init(_:_:_:_:)","abstract":"

            Undocumented

            ","parent_name":"ParameterComparisonResult"},"Classes/Matcher/ParameterComparisonResult.html#/s:11SwiftyMocky7MatcherC25ParameterComparisonResultV12resultStringSSvp":{"name":"resultString","abstract":"

            Undocumented

            ","parent_name":"ParameterComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7matchedSivp":{"name":"matched","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV5totalSivp":{"name":"total","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7resultsSayAC09ParameterdE0VGvp":{"name":"results","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV10percentageSfvp":{"name":"percentage","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV16percentageStringSSvp":{"name":"percentageString","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV11isFullMatchSbvp":{"name":"isFullMatch","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7isMatchSbvp":{"name":"isMatch","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultVyAESayAC09ParameterdE0VGcfc":{"name":"init(_:)","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV7matched5totalAESi_Sitcfc":{"name":"init(matched:total:)","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV5matchAEvpZ":{"name":"match","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV4noneAEvpZ":{"name":"none","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher/ComparisonResult.html#/s:11SwiftyMocky7MatcherC16ComparisonResultV12resultStringySSSi_SStF":{"name":"resultString(_:_:)","abstract":"

            Undocumented

            ","parent_name":"ComparisonResult"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC7defaultACvpZ":{"name":"default","abstract":"

            Shared Matcher instance

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC17fatalErrorHandleryySS_s12StaticStringVSutcvpZ":{"name":"fatalErrorHandler","abstract":"

            [Internal] matcher fatal error handler

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherCACycfc":{"name":"init()","abstract":"

            Create new clean matcher instance.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC7matcherA2C_tcfc":{"name":"init(matcher:)","abstract":"

            Creante new matcher instance, copying existing comparator from another instance.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC3set4file4lineys12StaticStringVSg_SuSgtF":{"name":"set(file:line:)","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC23setupCorrentFileAndLine4file4lineys12StaticStringV_SutF":{"name":"setupCorrentFileAndLine(file:line:)","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC16clearFileAndLineyyF":{"name":"clearFileAndLine()","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC14onFatalFailureyySSF":{"name":"onFatalFailure(_:)","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8register_5matchyxm_Sbx_xtctlF":{"name":"register(_:match:)","abstract":"

            Registers comparator for given type T.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8registeryyxmmlF":{"name":"register(_:)","abstract":"

            Registers comparator for type, like comparing Int.self to Int.self. These types of comparators always returns true. Register like: Matcher.default.register(CustomType.Type.self)

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC8registeryyxmSQRzlF":{"name":"register(_:)","abstract":"

            Register default comparatot for Equatable types. Required for generic mocks to work.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tlF":{"name":"comparator(for:)","abstract":"

            Returns comparator closure for given type (if any).

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSTRzlF":{"name":"comparator(for:)","abstract":"

            Default Sequence comparator, compares count, and then depending on sequence type:

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSQRzlF":{"name":"comparator(for:)","abstract":"

            Default Equatable comparator, compares if elements are equal.

            ","parent_name":"Matcher"},"Classes/Matcher.html#/s:11SwiftyMocky7MatcherC10comparator3forSbx_xtcSgxm_tSQRzSTRzlF":{"name":"comparator(for:)","abstract":"

            Default Equatable Sequence comparator, compares count, and then for every element equal element.

            ","parent_name":"Matcher"},"Classes/Matcher/ComparisonResult.html":{"name":"ComparisonResult","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Classes/Matcher/ParameterComparisonResult.html":{"name":"ParameterComparisonResult","abstract":"

            Undocumented

            ","parent_name":"Matcher"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO1_yACyxGAEmlF":{"name":"_","abstract":"

            Wildcard - any value

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO5valueyACyxGxcAEmlF":{"name":"value(_:)","abstract":"

            Explicit value

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO8matchingyACyxGSbxccAEmlF":{"name":"matching(_:)","abstract":"

            Any value matching

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3anyACyxGvpZ":{"name":"any","abstract":"

            Represents and matches any parameter value - syntactic sugar for ._ case.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3anyyACyqd__Gqd__mlFZ":{"name":"any(_:)","abstract":"

            Represents and matches any parameter value - syntactic sugar for ._ case. Used, when needs to explicitely specify","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO16shortDescriptionSSvp":{"name":"shortDescription","abstract":"

            Undocumented

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO7compare3lhs3rhs4withSbACyxG_AhA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

            Returns whether given two parameters are matching each other, with following rules:

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO13wrapAsGenericACyAA0F9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO19typeErasedAttributeACyAA04TypeeF0VGyF":{"name":"typeErasedAttribute()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO19noComparatorFailure2ins5NeverOAA7MatcherC_tFZ":{"name":"noComparatorFailure(in:)","abstract":"

            [Internal] Fatal error raised when no comparator or default comparator found for ValueType.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOA2A15TypeErasedValueRzlE7compare3lhs3rhs4withSbACyxG_AiA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

            [Internal] Compare two parameters

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzlE7compare3lhs3rhs4withSbACyxG_AhA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

            [Internal] Compare two parameters

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzlE13wrapAsGenericACyAA0F9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzlE19typeErasedAttributeACyAA04TypeeF0VGyF":{"name":"typeErasedAttribute()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzSQ7ElementRpzlE7compare3lhs3rhs4withSbACyxG_AjA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

            [Internal] Compare two parameters

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzSQ7ElementRpzlE13wrapAsGenericACyAA0G9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzSQ7ElementRpzlE19typeErasedAttributeACyAA04TypefG0VGyF":{"name":"typeErasedAttribute()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzSQ7ElementSTRpzlE7compare3lhs3rhs4withSbACyxG_AjA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

            [Internal] Compare two parameters

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzSQ7ElementSTRpzlE13wrapAsGenericACyAA0G9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzSTRzSQ7ElementSTRpzlE19typeErasedAttributeACyAA04TypefG0VGyF":{"name":"typeErasedAttribute()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzlE7Elementa":{"name":"Element","abstract":"

            Element

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzlE7compare3lhs3rhs4withSbACyxG_AhA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

            [Internal] Compare two parameters

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzlE13wrapAsGenericACyAA0F9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASTRzlE19typeErasedAttributeACyAA04TypeeF0VGyF":{"name":"typeErasedAttribute()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzlE7compare3lhs3rhs4withSbACyxG_AhA7MatcherCtFZ":{"name":"compare(lhs:rhs:with:)","abstract":"

            [Internal] Compare two parameters

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzlE13wrapAsGenericACyAA0F9AttributeVGyF":{"name":"wrapAsGeneric()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAASQRzlE19typeErasedAttributeACyAA04TypeeF0VGyF":{"name":"typeErasedAttribute()","abstract":"

            [Internal] Wraps as generic Parameter instance. Should not be ever called directly.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOA2A12OptionalTypeRzlE6notNilACyxGvpZ":{"name":"notNil","abstract":"

            Undocumented

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAARlzClE12sameInstance2asACyxGqd___tRld__ClFZ":{"name":"sameInstance(as:)","abstract":"

            Represents and matches values on an same instance basis.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOAARlzClE10isInstance2ofACyxGqd__m_tRld__ClFZ":{"name":"isInstance(of:)","abstract":"

            Represents and matches whether parameter is of specific type, using is operator.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO3allyACyxGAEd_tFZ":{"name":"all(_:)","abstract":"

            Allows combining multiple Parameter constraints into one Parameter constraint.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterOA2A15TypeErasedValueRzlE03intF0Sivp":{"name":"intValue","abstract":"

            Used for invocations sorting purpose.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:11SwiftyMocky9ParameterO8intValueSivp":{"name":"intValue","abstract":"

            Used for invocations sorting purpose.

            ","parent_name":"Parameter"},"Enums/Parameter.html#/s:s26ExpressibleByStringLiteralP0cD4TypeQa":{"name":"StringLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP0cdeF4TypeQa":{"name":"ExtendedGraphemeClusterLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s33ExpressibleByUnicodeScalarLiteralP0cdE4TypeQa":{"name":"UnicodeScalarLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s43ExpressibleByExtendedGraphemeClusterLiteralP08extendeddeF0x0cdeF4TypeQz_tcfc":{"name":"init(extendedGraphemeClusterLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s33ExpressibleByUnicodeScalarLiteralP07unicodedE0x0cdE4TypeQz_tcfc":{"name":"init(unicodeScalarLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s23ExpressibleByNilLiteralP03nilD0xyt_tcfc":{"name":"init(nilLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByIntegerLiteralP0cD4TypeQa":{"name":"IntegerLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByBooleanLiteralP0cD4TypeQa":{"name":"BooleanLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s27ExpressibleByBooleanLiteralP07booleanD0x0cD4TypeQz_tcfc":{"name":"init(booleanLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByFloatLiteralP0cD4TypeQa":{"name":"FloatLiteralType","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc":{"name":"init(floatLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByArrayLiteralP0cD7ElementQa":{"name":"ArrayLiteralElement","parent_name":"Parameter"},"Enums/Parameter.html#/s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc":{"name":"init(arrayLiteral:)","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP3KeyQa":{"name":"Key","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP5ValueQa":{"name":"Value","parent_name":"Parameter"},"Enums/Parameter.html#/s:s30ExpressibleByDictionaryLiteralP010dictionaryD0x3KeyQz_5ValueQztd_tcfc":{"name":"init(dictionaryLiteral:)","parent_name":"Parameter"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C5GivenQa":{"name":"StaticGiven","abstract":"

            Stubbed method and property type

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C6VerifyQa":{"name":"StaticVerify","abstract":"

            Verification type

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP0C7PerformQa":{"name":"StaticPerform","abstract":"

            Perform type

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP5givenyy0C5GivenQzFZ":{"name":"given(_:)","abstract":"

            Registers return value for stubbed method, for specified attributes set.

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP7performyy0C7PerformQzFZ":{"name":"perform(_:)","abstract":"

            Registers perform closure, which will be executed upon calling stubbed method, for specified attribtes.

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP6verify_5count4file4liney0C6VerifyQz_AA5CountOs0C6StringVSutFZ":{"name":"verify(_:count:file:line:)","abstract":"

            Verifies, that given method stub was called exact number of times.

            ","parent_name":"StaticMock"},"Protocols/StaticMock.html#/s:11SwiftyMocky10StaticMockP05resetD0yyAA0D5ScopeOd_tFZ":{"name":"resetMock(_:)","abstract":"

            Clear mock internals. You can specify what to clear (invocations aka verify, givens or performs)","parent_name":"StaticMock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP5GivenQa":{"name":"Given","abstract":"

            Stubbed method and property type

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP6VerifyQa":{"name":"Verify","abstract":"

            Verification type

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP7PerformQa":{"name":"Perform","abstract":"

            Perform type

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP5givenyy5GivenQzF":{"name":"given(_:)","abstract":"

            Registers return value for stubbed method, for specified attributes set.

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP7performyy7PerformQzF":{"name":"perform(_:)","abstract":"

            Registers perform closure, which will be executed upon calling stubbed method, for specified attribtes.

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP6verify_5count4file4liney6VerifyQz_AA5CountOs12StaticStringVSutF":{"name":"verify(_:count:file:line:)","abstract":"

            Verifies, that given method stub was called exact number of times.

            ","parent_name":"Mock"},"Protocols/Mock.html#/s:11SwiftyMocky4MockP05resetC0yyAA0C5ScopeOd_tF":{"name":"resetMock(_:)","abstract":"

            Clear mock internals. You can specify what to clear (invocations aka verify, givens or performs)","parent_name":"Mock"},"Protocols/Mock.html":{"name":"Mock","abstract":"

            Every generated mock implementation adopts Mock protocol."},"Protocols/StaticMock.html":{"name":"StaticMock","abstract":"

            Every mock, that stubs static methods, should adopt StaticMock protocol."},"Enums/Parameter.html":{"name":"Parameter","abstract":"

            Parameter wraps method attribute, allowing to make a difference between explicit value,"},"Classes/Matcher.html":{"name":"Matcher","abstract":"

            Matcher is container class, responsible for storing and resolving comparators for given types.

            "},"Protocols/Countable.html":{"name":"Countable","abstract":"

            Allows matching count, verifying whether given count is right or not

            "},"Enums/Count.html":{"name":"Count","abstract":"

            Count enum. Use it for all Verify features, when checking how many times something happened.

            "},"Structs/Stubber.html":{"name":"Stubber","abstract":"

            Used to populate stubbed method with sequence of events. Call it’s methods, to record subsequent stub return values.

            "},"Structs/StubberThrows.html":{"name":"StubberThrows","abstract":"

            Used to populate stubbed method with sequence of events. Call it’s methods, to record subsequent stub return/throw values.

            "},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO24lastWrittenResolvedFirstyA2CmF":{"name":"lastWrittenResolvedFirst","abstract":"

            Default policy. Last given overrides previous, if they are both with same generocity level

            ","parent_name":"SequencingPolicy"},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO14inWritingOrderyA2CmF":{"name":"inWritingOrder","abstract":"

            Givens would be recalled in order of generocity, respecting writing order (first line resolved first)

            ","parent_name":"SequencingPolicy"},"Enums/SequencingPolicy.html#/s:11SwiftyMocky16SequencingPolicyO6sorted_2bySayxGAF_Sbx_xtXEtlF":{"name":"sorted(_:by:)","abstract":"

            [Internal] Sorts stub return values / errors throw with respect to ordering rule and policy

            ","parent_name":"SequencingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO7defaultyA2CmF":{"name":"default","abstract":"

            Use current policy specified for Mock method type

            ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4wrapyA2CmF":{"name":"wrap","abstract":"

            Default policy in general. When reaching end of sequence of events, index will rewind to beginning (looping)

            ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4dropyA2CmF":{"name":"drop","abstract":"

            With this policy, every call drops event. When events count reaches zero, given is removed from mock.

            ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO4realyA2CF":{"name":"real(_:)","abstract":"

            [Internal] Resolves used policy. If self is default, will use inherited, otherwise self

            ","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html#/s:11SwiftyMocky14StubbingPolicyO7updated_4withS2i_SitF":{"name":"updated(_:with:)","abstract":"

            [Internal] Computes new index for stubs array. For wrap will rewind if out of bounds, for drop will not.","parent_name":"StubbingPolicy"},"Enums/StubbingPolicy.html":{"name":"StubbingPolicy","abstract":"

            Given Policy for treating sequence of events (products). Used to determine if stub return values should be consumed"},"Enums/SequencingPolicy.html":{"name":"SequencingPolicy","abstract":"

            Sequencing policy - in which order Given would be resolved. Pleas ehve in mind that this policy is applied ONLY after"},"Global%20methods.html#/s:11SwiftyMocky5Givenyyx_ABQzAA14StubbingPolicyOtAA4MockRzlF":{"name":"Given(_:_:_:)","abstract":"

            Setup return value for method stubs in mock instance. When this method will be called on mock, it"},"Global%20methods.html#/s:11SwiftyMocky5Givenyyxm_06StaticC0QzAA14StubbingPolicyOtAA0D4MockRzlF":{"name":"Given(_:_:_:)","abstract":"

            Setup return value for static method stubs on mock type. When this static method will be called, it"},"Global%20methods.html#/s:11SwiftyMocky7Performyyx_ABQztAA4MockRzlF":{"name":"Perform(_:_:)","abstract":"

            Setup perform closure for method stubs in mock instance. When this method will be called on mock, it"},"Global%20methods.html#/s:11SwiftyMocky7Performyyxm_06StaticC0QztAA0D4MockRzlF":{"name":"Perform(_:_:)","abstract":"

            Setup perform closure for static method stubs for mock type. When this method will be called on mock type, it"},"Global%20methods.html#/s:11SwiftyMocky6Verify__4file4lineyx_ABQzs12StaticStringVSutAA4MockRzlF":{"name":"Verify(_:_:file:line:)","abstract":"

            Verify that given method was called on mock object at least once.

            "},"Global%20methods.html#/s:11SwiftyMocky6Verify__4file4lineyxm_06StaticC0Qzs0F6StringVSutAA0F4MockRzlF":{"name":"Verify(_:_:file:line:)","abstract":"

            Verify that given static method was called on mock type at least once.

            "},"Global%20methods.html#/s:11SwiftyMocky6Verify___4file4lineyx_AA5CountOABQzs12StaticStringVSutAA4MockRzlF":{"name":"Verify(_:_:_:file:line:)","abstract":"

            Verify that given method was called on mock object exact number of times.

            "},"Global%20methods.html#/s:11SwiftyMocky6Verify___4file4lineyxm_AA5CountO06StaticC0Qzs0G6StringVSutAA0G4MockRzlF":{"name":"Verify(_:_:_:file:line:)","abstract":"

            Verify that given static method was called on mock type exact number of times.

            "},"matcher-support-for-not-equatable.html":{"name":"Matcher support for not Equatable"},"handling-generics.html":{"name":"Handling Generics"},"examples.html":{"name":"Examples"},"legacy.html":{"name":"Legacy"},"add-xcode-generate-action.html":{"name":"Add XCode generate action"},"known-issues.html":{"name":"Known issues"},"changelog.html":{"name":"CHANGELOG"},"overview.html":{"name":"Overview"},"installation.html":{"name":"Installation"},"setup-in-project.html":{"name":"Setup in project"},"mockfile.html":{"name":"Mockfile"},"command-line-interface.html":{"name":"Command Line Interface"},"supported-features.html":{"name":"Supported features"},"prototyping.html":{"name":"Prototyping"},"Main%20Guides.html":{"name":"Main Guides"},"Additional%20Guides.html":{"name":"Additional Guides"},"Global%20methods.html":{"name":"Global methods"},"Configuration.html":{"name":"Configuration"},"Types.html":{"name":"Types"},"Generics.html":{"name":"Generics"},"Helpers.html":{"name":"Helpers"},"Internal.html":{"name":"Internal"},"Other%20Guides.html":{"name":"Other Guides","abstract":"

            The following guides are available globally.

            "},"Other%20Classes.html":{"name":"Other Classes","abstract":"

            The following classes are available globally.

            "},"Other%20Enums.html":{"name":"Other Enumerations","abstract":"

            The following enumerations are available globally.

            "},"Other%20Protocols.html":{"name":"Other Protocols","abstract":"

            The following protocols are available globally.

            "},"Other%20Structs.html":{"name":"Other Structures","abstract":"

            The following structures are available globally.

            "}} \ No newline at end of file diff --git a/docs/setup-in-project.html b/docs/setup-in-project.html index 897a6951..2d228dd9 100644 --- a/docs/setup-in-project.html +++ b/docs/setup-in-project.html @@ -13,7 +13,7 @@
            -

            SwiftyMocky 4.1.0-pre Docs (86% documented)

            +

            SwiftyMocky 4.1.0 Docs (86% documented)

            View on GitHub

            @@ -188,6 +188,9 @@ + diff --git a/docs/supported-features.html b/docs/supported-features.html index 7be009bb..3155478d 100644 --- a/docs/supported-features.html +++ b/docs/supported-features.html @@ -13,7 +13,7 @@
            -

            SwiftyMocky 4.1.0-pre Docs (86% documented)

            +

            SwiftyMocky 4.1.0 Docs (86% documented)

            View on GitHub

            @@ -188,6 +188,9 @@ + diff --git a/docs/undocumented.json b/docs/undocumented.json index 1371bdd8..eecd782c 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -56,6 +56,27 @@ "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, + { + "file": "/Users/andrzejmichnia/Projekty/Private/SwiftyMocky/Sources/Shared/Parameter+Optionals.swift", + "line": 7, + "symbol": "OptionalType.isNotNil", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/andrzejmichnia/Projekty/Private/SwiftyMocky/Sources/Shared/Parameter+Optionals.swift", + "line": 11, + "symbol": "Optional.isNotNil", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/andrzejmichnia/Projekty/Private/SwiftyMocky/Sources/Shared/Parameter+Optionals.swift", + "line": 20, + "symbol": "Parameter.notNil", + "symbol_kind": "source.lang.swift.decl.var.static", + "warning": "undocumented" + }, { "file": "/Users/andrzejmichnia/Projekty/Private/SwiftyMocky/Sources/Shared/Parameter.swift", "line": 41, diff --git a/guides/CHANGELOG.md b/guides/CHANGELOG.md index f3957283..95357742 100644 --- a/guides/CHANGELOG.md +++ b/guides/CHANGELOG.md @@ -20,6 +20,7 @@ All changes to SwiftyMocky project will be documented in this file. * Fixed other basic issues and changes for Sourcery 1.6.0 * Fixed observer setup when test is marked as async * Fixed CLI dependencies (Sergey Kovalenko) +* Moved tests from travis to github actions ----- diff --git a/guides/Installation.md b/guides/Installation.md index 7d6a7c71..412d350f 100644 --- a/guides/Installation.md +++ b/guides/Installation.md @@ -86,7 +86,7 @@ Add **SwiftyMocky** to you **Package.swift** dependencies: ```swift dependencies: [ - .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0-pre"), + .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0"), ] ``` diff --git a/guides/Overview.md b/guides/Overview.md index 45e74710..47252e30 100644 --- a/guides/Overview.md +++ b/guides/Overview.md @@ -1,4 +1,4 @@ -# SwiftyMocky 4.1.0-pre +# SwiftyMocky 4.1.0 # ![logo][logo] @@ -113,7 +113,7 @@ Add **SwiftyMocky** to you **Package.swift** dependencies: ```swift dependencies: [ - .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0-pre"), + .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.1.0"), ] ``` @@ -357,28 +357,28 @@ SwiftyMocky is available under the MIT license. See the [LICENSE][link-license] -[link-guides-installation]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/setup-in-project.html -[link-guides-contents]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/contents.html -[link-guides-examples]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/examples.html -[link-changelog]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/changelog.html +[link-guides-installation]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/setup-in-project.html +[link-guides-contents]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/contents.html +[link-guides-examples]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/examples.html +[link-changelog]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/changelog.html -[link-guides-cli]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/command-line-interface.html -[link-guides-cli-migration]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/command-line-interface.html#migration -[link-guides-cli-legacy]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/legacy.html -[link-guides-cli-generate]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/command-line-interface.html#generate -[link-guides-mockfile]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/mockfile.html +[link-guides-cli]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/command-line-interface.html +[link-guides-cli-migration]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/command-line-interface.html#migration +[link-guides-cli-legacy]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/legacy.html +[link-guides-cli-generate]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/command-line-interface.html#generate +[link-guides-mockfile]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/mockfile.html -[link-docs]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/index.html -[link-docs-features]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/supported-features.html -[link-docs-installation]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/installation.html -[link-docs-installation-carthage]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/installation.html#installation-carthage -[link-docs-setup]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/docs/setup-in-project.html +[link-docs]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/index.html +[link-docs-features]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/supported-features.html +[link-docs-installation]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/installation.html +[link-docs-installation-carthage]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/installation.html#installation-carthage +[link-docs-setup]: https://cdn.rawgit.com/MakeAWishFoundation/SwiftyMocky/4.1.0/docs/setup-in-project.html -[logo]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/4.1.0-pre/icon.png +[logo]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/4.1.0/icon.png [example-watcher]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/3.2.0/guides/assets/example-watcher.gif "Example - generation" [example-given]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/3.2.0/guides/assets/example-given.gif "Example - given" [example-verify]: https://raw.githubusercontent.com/MakeAWishFoundation/SwiftyMocky/3.2.0/guides/assets/example-verify.gif "Example - verify"