{"id":18937502,"url":"https://github.com/verifytests/verify.fakeiteasy","last_synced_at":"2026-03-21T16:30:24.441Z","repository":{"id":45264487,"uuid":"486564863","full_name":"VerifyTests/Verify.FakeItEasy","owner":"VerifyTests","description":"Adds Verify support for verifying FakeItEasy types.","archived":false,"fork":false,"pushed_at":"2024-04-30T11:43:02.000Z","size":273,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T09:37:52.796Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VerifyTests.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"VerifyTests"}},"created_at":"2022-04-28T11:25:31.000Z","updated_at":"2024-05-10T10:41:58.691Z","dependencies_parsed_at":"2023-02-19T16:35:46.051Z","dependency_job_id":"2cb1c83a-bae4-40fb-a7aa-2b1b6b1494c2","html_url":"https://github.com/VerifyTests/Verify.FakeItEasy","commit_stats":{"total_commits":87,"total_committers":2,"mean_commits":43.5,"dds":0.02298850574712641,"last_synced_commit":"2a74f6388b349b5a0db05b2e9bfb52710a8a675e"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.FakeItEasy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.FakeItEasy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.FakeItEasy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.FakeItEasy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VerifyTests","download_url":"https://codeload.github.com/VerifyTests/Verify.FakeItEasy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239937699,"owners_count":19721483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T12:11:30.002Z","updated_at":"2026-03-21T16:30:24.435Z","avatar_url":"https://github.com/VerifyTests.png","language":"C#","funding_links":["https://github.com/sponsors/VerifyTests"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\"\u003e Verify.FakeItEasy\n\n[![Discussions](https://img.shields.io/badge/Verify-Discussions-yellow?svg=true\u0026label=)](https://github.com/orgs/VerifyTests/discussions)\n[![Build status](https://img.shields.io/appveyor/build/SimonCropp/Verify-FakeItEasy)](https://ci.appveyor.com/project/SimonCropp/Verify-FakeItEasy)\n[![NuGet Status](https://img.shields.io/nuget/v/Verify.FakeItEasy.svg)](https://www.nuget.org/packages/Verify.FakeItEasy/)\n\nAdds [Verify](https://github.com/VerifyTests/Verify) support for verifying [FakeItEasy](https://fakeiteasy.github.io/) types.\u003c!-- singleLineInclude: intro. path: /docs/intro.include.md --\u003e\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\n\n## Sponsors\n\n\n### Entity Framework Extensions\u003c!-- include: sponsors. path: /docs/sponsors.include.md --\u003e\n\n[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=simoncropp\u0026utm_medium=Verify.FakeItEasy) is a major sponsor and is proud to contribute to the development this project.\n\n[![Entity Framework Extensions](https://raw.githubusercontent.com/VerifyTests/Verify.FakeItEasy/refs/heads/main/docs/zzz.png)](https://entityframework-extensions.net/?utm_source=simoncropp\u0026utm_medium=Verify.FakeItEasy)\n\n### Developed using JetBrains IDEs\n\n[![JetBrains logo.](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://jb.gg/OpenSourceSupport)\u003c!-- endInclude --\u003e\n\n\n## NuGet\n\n * https://nuget.org/packages/Verify.FakeItEasy\n\n\n## Usage\n\n\u003c!-- snippet: enable --\u003e\n\u003ca id='snippet-enable'\u003e\u003c/a\u003e\n```cs\n[ModuleInitializer]\npublic static void Init() =\u003e\n    VerifyFakeItEasy.Initialize();\n```\n\u003csup\u003e\u003ca href='/src/Tests/ModuleInitializer.cs#L3-L9' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-enable' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\nGiven an interface:\n\n\u003c!-- snippet: ITarget.cs --\u003e\n\u003ca id='snippet-ITarget.cs'\u003e\u003c/a\u003e\n```cs\npublic interface ITarget\n{\n    void Method(int a, int b);\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/ITarget.cs#L1-L4' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-ITarget.cs' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\nIts `.GetCalls()` can be verified:\n\n\u003c!-- snippet: ReceivedCalls --\u003e\n\u003ca id='snippet-ReceivedCalls'\u003e\u003c/a\u003e\n```cs\n[Fact]\npublic Task ReceivedCalls()\n{\n    var target = A.Fake\u003cITarget\u003e();\n    target.Method(1, 2);\n    var calls = Fake.GetCalls(target);\n    return Verify(calls);\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.cs#L3-L14' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-ReceivedCalls' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\nWill result in:\n\n\u003c!-- snippet: Tests.ReceivedCalls.verified.txt --\u003e\n\u003ca id='snippet-Tests.ReceivedCalls.verified.txt'\u003e\u003c/a\u003e\n```txt\n[\n  {\n    Method: ITarget.Method(int a, int b),\n    Arguments: [\n      1,\n      2\n    ]\n  }\n]\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.ReceivedCalls.verified.txt#L1-L9' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Tests.ReceivedCalls.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\nA instance of `FakeManager` can also be verified.\n\n\u003c!-- snippet: FakeManager --\u003e\n\u003ca id='snippet-FakeManager'\u003e\u003c/a\u003e\n```cs\n[Fact]\npublic Task FakeManager()\n{\n    var target = A.Fake\u003cITarget\u003e();\n    target.Method(1, 2);\n    var fakeManager = Fake.GetFakeManager(target);\n    return Verify(fakeManager);\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.cs#L16-L27' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-FakeManager' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.fakeiteasy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverifytests%2Fverify.fakeiteasy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.fakeiteasy/lists"}