alex.hart
02/27/2017, 8:12 PMsetNoteId(bundle, noteId)
, I then call bundle.putExtra(NOTE_ID, noteId)
, and that getNoteId(bundle)
calls bundle.getNoteId(NOTE_ID, null)
or whatever. You don’t necessarily need an instance of a bundle to do that, a mock would work perfectly fine. It depends I guess what rules you apply to what is acceptable to mock and what isn’t.