@Test public void obtainResult_returnsSomeUri() throws Exception { List<Uri> mock = new ArrayList<Uri>() {{ add(Uri.parse("content: Intent data = new Intent(); data.putParcelableArrayListExtra(PhotoSelectionActivity.EXTRA_RESULT_SELECTION, (ArrayList<? extends Parcelable>) mock); List<Uri> uris = Laevatein.obtainResult(data); assertNotNull(uris); assertSame(mock, uris); assertEquals(mock, uris); }
public static List<Uri> obtainResult(Intent data) { return data.getParcelableArrayListExtra(PhotoSelectionActivity.EXTRA_RESULT_SELECTION); }
Laevatein { public static List<Uri> obtainResult(Intent data) { return data.getParcelableArrayListExtra(PhotoSelectionActivity.EXTRA_RESULT_SELECTION); } }
Laevatein { public static List<Uri> obtainResult(Intent data) { return data.getParcelableArrayListExtra(PhotoSelectionActivity.EXTRA_RESULT_SELECTION); } protected  Laevatein(Activity context); protected  Laevatein(Activity activity, Fragment fragment); }
Laevatein { public static List<Uri> obtainResult(Intent data) { return data.getParcelableArrayListExtra(PhotoSelectionActivity.EXTRA_RESULT_SELECTION); } protected  Laevatein(Activity context); protected  Laevatein(Activity activity, Fragment fragment); static Laevatein from(Activity activity); static Laevatein from(Fragment fragment); static List<Uri> obtainResult(Intent data); SelectionSpecBuilder choose(Set<MimeType> mimeType); }
Laevatein { public static List<Uri> obtainResult(Intent data) { return data.getParcelableArrayListExtra(PhotoSelectionActivity.EXTRA_RESULT_SELECTION); } protected  Laevatein(Activity context); protected  Laevatein(Activity activity, Fragment fragment); static Laevatein from(Activity activity); static Laevatein from(Fragment fragment); static List<Uri> obtainResult(Intent data); SelectionSpecBuilder choose(Set<MimeType> mimeType); static final String TAG; }