shadows/framework/src/main/java/org/robolectric/android/controller/FragmentController.java
public FragmentController<F> create(final int contentViewId, final Bundle bundle) {
    shadowMainLooper.runPaused(new Runnable() {
      @Override
      public void run() {
        activityController.create(bundle).get().getFragmentManager().beginTransaction().add(contentViewId, fragment).commit();
      }
    });
    return this;
  }
public FragmentController<F> create(final int contentViewId, final Bundle bundle) {
    shadowMainLooper.runPaused(new Runnable() {
      @Override
      public void run() {
        activityController.create(bundle).get().getFragmentManager().beginTransaction().add(contentViewId, fragment).commit();
      }
    });
    return this;
  }
public FragmentController < F > create ( final int contentViewId , final Bundle bundle ) { shadowMainLooper . runPaused ( new Runnable ( ) { @ Override public void run ( ) { activityController . create ( bundle ) . get ( ) . getFragmentManager ( ) . beginTransaction ( ) . add ( contentViewId , fragment ) . commit ( ) ; } } ) ; return this ; }
Creates the activity with {@link Bundle} and adds the fragment to the view with ID {@code contentViewId}.
Creates the activity with {