title: How to test the Android Dark Mode using Espresso
body: <p>What is the best way to test the different DayNight themes on Android using Espresso? (or something better?) I haven't found anything on the internet. I thought this must be something big because of everything migrating to DayNight now.</p>
  
  <p>I want to know things like: "when I click this button, has my activity theme changed" or "I have this background and this text, is the contrast right".</p>
  
  <p>Thanks in advance.</p>