ShareIntentBuilder { public static ShareIntentNoBuilder from(@NonNull Context context) { checkNotNull(context); ShareIntentBuilder builder = new ShareIntentBuilder(context); return new ShareIntentNoBuilder(builder); } private  ShareIntentBuilder(Context context); static ShareIntentNoBuilder from(@NonNull Context context); static final String EXTRA_CALLING_PACKAGE; static final String EXTRA_CALLING_ACTIVITY; }
@SuppressWarnings("ConstantConditions") @Test(expected = IllegalArgumentException.class) public void staticFactoryMethodWithNullArgumentShouldThrowException() { ShareIntentBuilder.from(null); }