use of androidx.slice.builders.SliceAction in project android_packages_apps_Settings by omnirom.
the class ProviderModelSliceTest method mockBuilder.
private void mockBuilder() {
SliceAction mockSliceAction = getPrimarySliceAction();
when(mMockCarrierRowBuild.getTitle()).thenReturn("mockRow");
when(mMockCarrierRowBuild.getPrimaryAction()).thenReturn(mockSliceAction);
when(mProviderModelSliceHelper.createCarrierRow(anyString())).thenReturn(mMockCarrierRowBuild);
}
Aggregations