// Path: debugutils/src/main/java/fr/guddy/android_modular_reloaded/debugutils/DebugActivity.java
// public class DebugActivity extends AppCompatActivity implements HasSupportFragmentInjector {
// 
//     //region Injected fields
//     @Inject
//     public DispatchingAndroidInjector<Fragment> supportFragmentInjector;
//     //endregion
// 
//     //region Lifecycle
//     @Override
//     protected void onCreate(final Bundle pSavedInstanceState) {
//         AndroidInjection.inject(this);
//         super.onCreate(pSavedInstanceState);
//     }
//     //endregion
// 
//     //region HasSupportFragmentInjector
//     @Override
//     public AndroidInjector<Fragment> supportFragmentInjector() {
//         return supportFragmentInjector;
//     }
//     //endregion
// }
// 
// Path: second/src/androidTest/java/fr/guddy/android_modular_reloaded/second/rules/AppTestRule.java
// public class AppTestRule extends DaggerMockRule<ComponentDebugApp> {
//     //region Constructor
//     public AppTestRule() {
//         super(ComponentDebugApp.class, new ModuleDebugActivity());
//         customizeBuilder(new BuilderCustomizer<ComponentDebugApp.Builder>() {
//             @Override
//             public ComponentDebugApp.Builder customize(final ComponentDebugApp.Builder pBuilder) {
//                 return pBuilder.application(getApp());
//             }
//         });
//         set((final ComponentDebugApp pComponent) ->
//             pComponent.inject(getApp())
//         );
//     }
//     //endregion
// 
//     //region Inner job
//     private static DebugApp getApp() {
//         return (DebugApp) InstrumentationRegistry.getInstrumentation().getTargetContext().getApplicationContext();
//     }
//     //endregion
// }


import com.android21buttons.fragmenttestrule.FragmentTestRule;
import org.junit.Rule;
import org.junit.Test;
import org.mockito.Mock;
import fr.guddy.android_modular_reloaded.debugutils.DebugActivity;
import fr.guddy.android_modular_reloaded.second.rules.AppTestRule;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.assertion.ViewAssertions.matches;
import static android.support.test.espresso.matcher.ViewMatchers.withId;
import static android.support.test.espresso.matcher.ViewMatchers.withText;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;
package fr.guddy.android_modular_reloaded.second;





public class FragmentSecondTest {
    //region Rules
    @Rule
// Path: debugutils/src/main/java/fr/guddy/android_modular_reloaded/debugutils/DebugActivity.java
// public class DebugActivity extends AppCompatActivity implements HasSupportFragmentInjector {
// 
//     //region Injected fields
//     @Inject
//     public DispatchingAndroidInjector<Fragment> supportFragmentInjector;
//     //endregion
// 
//     //region Lifecycle
//     @Override
//     protected void onCreate(final Bundle pSavedInstanceState) {
//         AndroidInjection.inject(this);
//         super.onCreate(pSavedInstanceState);
//     }
//     //endregion
// 
//     //region HasSupportFragmentInjector
//     @Override
//     public AndroidInjector<Fragment> supportFragmentInjector() {
//         return supportFragmentInjector;
//     }
//     //endregion
// }
// 
// Path: second/src/androidTest/java/fr/guddy/android_modular_reloaded/second/rules/AppTestRule.java
// public class AppTestRule extends DaggerMockRule<ComponentDebugApp> {
//     //region Constructor
//     public AppTestRule() {
//         super(ComponentDebugApp.class, new ModuleDebugActivity());
//         customizeBuilder(new BuilderCustomizer<ComponentDebugApp.Builder>() {
//             @Override
//             public ComponentDebugApp.Builder customize(final ComponentDebugApp.Builder pBuilder) {
//                 return pBuilder.application(getApp());
//             }
//         });
//         set((final ComponentDebugApp pComponent) ->
//             pComponent.inject(getApp())
//         );
//     }
//     //endregion
// 
//     //region Inner job
//     private static DebugApp getApp() {
//         return (DebugApp) InstrumentationRegistry.getInstrumentation().getTargetContext().getApplicationContext();
//     }
//     //endregion
// }


// Path: second/src/androidTest/java/fr/guddy/android_modular_reloaded/second/FragmentSecondTest.java
import com.android21buttons.fragmenttestrule.FragmentTestRule;
import org.junit.Rule;
import org.junit.Test;
import org.mockito.Mock;
import fr.guddy.android_modular_reloaded.debugutils.DebugActivity;
import fr.guddy.android_modular_reloaded.second.rules.AppTestRule;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.assertion.ViewAssertions.matches;
import static android.support.test.espresso.matcher.ViewMatchers.withId;
import static android.support.test.espresso.matcher.ViewMatchers.withText;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;

package fr.guddy.android_modular_reloaded.second;





public class FragmentSecondTest {
    //region Rules
    @Rule
    public FragmentTestRule<DebugActivity, FragmentSecond> fragmentTestRule =