title: How to write integration test in provider
body: <p><strong>Could not find appbar title &quot;Exam Start&quot;</strong></p>
  <p><code>await tester.pump(Duration(seconds: 1));  </code><br />
  <code>final titleFinder = find.text(&quot;Exam start&quot;); </code><br />
  <code> expect(titleFinder, findsOneWidget);</code></p>
  <p>my provider implementation is given below.</p>
  <pre><code>return MultiProvider(
        providers: [
          // Provider(create: (context) =&gt; RadioModel()),
          ChangeNotifierProvider(
            // Initialize the model in the builder. That way, Provider
            // can own Counter's lifecycle, making sure to call `dispose`
            // when not needed anymore.
            create: (context) =&gt; RadioModel(),
            //child: const MyApp(),
          ),
          ChangeNotifierProvider(
            // Initialize the model in the builder. That way, Provider
            // can own Counter's lifecycle, making sure to call `dispose`
            // when not needed anymore.
            create: (context) =&gt; CheckModel(),
            //child: const MyApp(),
          ),
         
        ],
    child: Scaffold(
      backgroundColor: AppColors.background,
      appBar: AppBarHelper.getAppBar(context,
          title: &quot;Exam start&quot;, showBackOption: true, elevation: 0),
      resizeToAvoidBottomInset: false,
      body: Container(
        margin: EdgeInsets.all(15),
        child: Stack(
          children: [
            StreamBuilder&lt;Resource&lt;QuestionlistBaseModel&gt;&gt;(
              stream: widget.bloc.questionListStream,
              builder: (BuildContext context, snapshot) {
                if (snapshot.data == null ||
                    snapshot.data?.status == ResourceStatus.LOADING) {
                  return Center(
                    child: CircularProgressIndicator(),
                  );
                } else if (snapshot.data?.status ==
                    ResourceStatus.SUCCESS) {
                  loadingPublisher.sink.add(false);
                  quizTime = snapshot.data?.model?.quizTime ?? 0;
                  userExamId = snapshot.data!.model!.userExamId.toString();
                  questionsList.clear();
                  questionsList
                      .addAll(snapshot.data?.model?.questions ?? []);
                  if (isTimeCountStart) {
                    startTimeout(quizTime);
                  }
                  return SingleChildScrollView(
                    child: Column(
                      children: [
                        getTimerProgressbar(),
                        Consumer&lt;CounterModel&gt;(builder: (newContext, _counterModel, child) {
                          return Column(
                            children: [
                              Card(
                                margin: EdgeInsets.all(10),
                                elevation: 1,
                                child: getQuestionUi(
                                    questionsList[_counterModel.counter]),
                              ),
                              Container(
                                  margin: EdgeInsets.all(15),
                                  child: getBottomButton(_counterModel)),
                            ],
                          ); // use this
                        }),
                      ],
                    ),
                  );
                } else if (snapshot.data?.status == ResourceStatus.FAILED) {
                  loadingPublisher.sink.add(false);
                  return Center(child: Text(snapshot.data?.message ?? ''));
                }
                return Center(child: Text(snapshot.data?.message ?? &quot;&quot;));
              },
            ),
          ],
        ),
      ),
    ),
  );
  </code></pre>
  <p>`How can I get view(button image text or etc ) acccess from  the inner of body container? I have a set of question and answer list in my widget, user have to select radiogroup/checkbutton/input test from multiple answer. If user finished one of them, he will get the access of the next question by pressing the next button. For integrating test first I have to find those answer view with title/id/key after that need to automically select one of them and press the next button. But unfortunately I couldn't get the view!!! Ui design is given below.
  screnshoot url == <a href="https://drive.google.com/file/d/17CUcEOGO3Dui-RroT3rOTAmzkvBdN9F2/view?usp=sharing" rel="nofollow noreferrer">screenshoot url</a></p>
  <p><a href="https://i.stack.imgur.com/rdmJ2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rdmJ2.jpg" alt="" /></a></p>