sdk/src/com/socialize/ui/dialog/BaseDialogFactory.java
protected Dialog newDialog(Context context) {
		Dialog dialog = new Dialog(context, android.R.style.Theme_Dialog);
		dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
		
		// Register to prevent window leakage
		DialogRegistration.register(context, dialog);
		
		return dialog;
	}
protected Dialog newDialog(Context context) {
		Dialog dialog = new Dialog(context, android.R.style.Theme_Dialog);
		dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
		
		// Register to prevent window leakage
		DialogRegistration.register(context, dialog);
		
		return dialog;
	}
protected Dialog newDialog ( Context context ) { Dialog dialog = new Dialog ( context , android . R . style . Theme_Dialog ) ; dialog . requestWindowFeature ( Window . FEATURE_NO_TITLE ) ; // Register to prevent window leakage DialogRegistration . register ( context , dialog ) ; return dialog ; }
So we can mock
So we can mock