square / assertj-android

A set of AssertJ helpers geared toward testing Android.
https://square.github.io/assertj-android/
Apache License 2.0
1.58k stars 156 forks source link

Add assertion for Intent extra value #175

Closed sberan closed 9 years ago

sberan commented 9 years ago

We can assert the existence of an extra on an Intent, but it is also handy to assert an expected value for an extra. This cleans up my activity tests quite nicely when ensuring that the correct values are passed between activities.

Note: I didn't see any tests; I am new to the project so if I am missing them please let me know and I will update with a test.