How do I test that something is logged when 42 is ...
# getting-started
s
How do I test that something is logged when 42 is pass and nothing is logged when 31 is passed in for example without calling the actual logger. Ideally I would like to inject a mock.