{"id":21480421,"url":"https://github.com/amirdoosti6060/moqdemo","last_synced_at":"2025-07-10T16:36:25.869Z","repository":{"id":221947050,"uuid":"755850040","full_name":"amirdoosti6060/MoqDemo","owner":"amirdoosti6060","description":"This project shows how to use Moq in unit tests.","archived":false,"fork":false,"pushed_at":"2024-02-11T09:23:14.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T18:47:15.865Z","etag":null,"topics":["csharp","mock","mockup","moq","testing","unit-testing","xunit"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/pulse/unit-testing-moq-c-amir-doosti-oulef","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amirdoosti6060.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-02-11T09:12:27.000Z","updated_at":"2024-02-11T09:17:31.000Z","dependencies_parsed_at":"2024-02-11T10:25:06.067Z","dependency_job_id":"90d3118b-a3c3-4745-8f77-f0a2d5d5864a","html_url":"https://github.com/amirdoosti6060/MoqDemo","commit_stats":null,"previous_names":["amirdoosti6060/moqdemo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirdoosti6060%2FMoqDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirdoosti6060%2FMoqDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirdoosti6060%2FMoqDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirdoosti6060%2FMoqDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirdoosti6060","download_url":"https://codeload.github.com/amirdoosti6060/MoqDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006383,"owners_count":20382443,"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":["csharp","mock","mockup","moq","testing","unit-testing","xunit"],"created_at":"2024-11-23T12:14:59.106Z","updated_at":"2025-03-17T09:11:41.766Z","avatar_url":"https://github.com/amirdoosti6060.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MoqDemo\n\n## Introduction\nThis project provide a sample that shows how to use **moq** package in C#.  \nI also wrote an article in the following address that completely explains **Unit testing with Moq in C#**:  \nhttps://www.linkedin.com/pulse/unit-testing-moq-c-amir-doosti-oulef   \n\n## Structure of soution\nThe solution contains one Console App project and one xUnit test project which are written in Visual Studio.  \nYou will find descriptive comments on top of each test.  \n\n## Technology stack\n- OS: Windows 10 Enterprise - 64 bits\n- IDE: Visual Studio Enterprise 2022 (64 bits) - version 17.2.5\n- Framework: .Net 6\n- Language: C#\n- Test Framework: xUnit\n- Packages: Moq\n\n## How to run\nOpen the solution in Visual Studio and run it using F5. You will see the output in a console.  \nAlso open \"Test Explorer\" and run all tests there.  \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirdoosti6060%2Fmoqdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirdoosti6060%2Fmoqdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirdoosti6060%2Fmoqdemo/lists"}