Problem
Write a test for your Bitcoin program (from the API topic) that converts a number of Bitcoin to their value in US Dollars.
Structure your program so you don't need to mock user input.
Structure your program so it's possible to isolate and then mock the API call.
Mock the API call by providing a mock JSON response. Assert that your program calculates the correct value in dollars.