Trying to Unit Test an Object

Just curious, Because, the BuildConfig.DEBUG is static final, how would I go about creating a test that would verify what happens when it’s set to false?

I mean I know I can create this test

assertThat(“Returned class is not an Int”, Log.i(“Test”, “Test”), isA(Int::class.java))

which verifies that an int is returned (which in either case is true). But for future knowledge and others who may be wonder also (let’s say I have a static final somewhere that the end result is different than the conditional expression equivalent, how would one go about