use of android.view.contentcapture.ContentCaptureCondition in project robolectric by robolectric.
the class ShadowContentCaptureManagerTest method getContentCaptureConditions_withContentCaptureConditions.
@Test
public void getContentCaptureConditions_withContentCaptureConditions() {
Set<ContentCaptureCondition> contentCaptureConditions = new HashSet<>();
contentCaptureConditions.add(new ContentCaptureCondition(new LocusId("fake locusId"), 0));
instance.setContentCaptureConditions(contentCaptureConditions);
assertThat(instance.getContentCaptureConditions()).isEqualTo(contentCaptureConditions);
}
Aggregations