Skip to content

This repository contains an example of how to use Dependency Injection for testing objects which normally has tight couplings.

Notifications You must be signed in to change notification settings

thommelutten/PluginExample

Repository files navigation

Plugin Example

This project shows how to create a mock for an object that has a tight coupling with another class via Depdendency Injection.

PluginExample.2022.CalculatorWithExternalDependency has a tight coupling with the CoreLogic class found in PluginExample.Core.

An example of how to create a mock object is found in PluginExample.2022.Test.RunMe

About

This repository contains an example of how to use Dependency Injection for testing objects which normally has tight couplings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages