Closed emartynov closed 10 years ago
You can static import the assertThat method from both the core and Android. On Nov 5, 2014 4:36 AM, "Eugen Martynov" notifications@github.com wrote:
Hi guys,
Are there good way to mix core and android assertions? Currently I static import android assertions class and I have to specify with package assertions from core. Is there easier way?
In general, by design, would it be acceptable to have assertions in the same package as core. Or maybe it is better to write proxy classes that will call core assertions?
— Reply to this email directly or view it on GitHub https://github.com/square/assertj-android/issues/137.
Specifically,
import static ...Assertions.assertThat;
import static ...android.Assertions.assertThat;
Thank you!
Hi guys,
Are there good way to mix core and android assertions? Currently I static import android assertions class and I have to specify with package assertions from core. Is there easier way?
In general, by design, would it be acceptable to have assertions in the same package as core. Or maybe it is better to write proxy classes that will call core assertions?