<titledata-rh="true">Unit Testing | SpotifyAPI-NET</title><metadata-rh="true"name="viewport"content="width=device-width,initial-scale=1"><metadata-rh="true"name="twitter:card"content="summary_large_image"><metadata-rh="true"property="og:url"content="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/unit_testing"><metadata-rh="true"name="docusaurus_locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docusaurus_version"content="current"><metadata-rh="true"name="docusaurus_tag"content="docs-default-current"><metadata-rh="true"name="docsearch:version"content="current"><metadata-rh="true"name="docsearch:docusaurus_tag"content="docs-default-current"><metadata-rh="true"property="og:title"content="Unit Testing | SpotifyAPI-NET"><metadata-rh="true"name="description"content="The modular structure of the library makes it easy to mock the API when unit testing. Consider the following method:"><metadata-rh="true"property="og:description"content="The modular structure of the library makes it easy to mock the API when unit testing. Consider the following method:"><linkdata-rh="true"rel="icon"href="/SpotifyAPI-NET/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/unit_testing"><linkdata-rh="true"rel="alternate"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/unit_testing"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/unit_testing"hreflang="x-default"><linkrel="stylesheet"href="/SpotifyAPI-NET/assets/css/styles.c5268834.css">