title: How to test Image widgets source path in Flutter
body: <p>I have the following setup:</p>
  <pre><code>return Container(
        child: widget.searchResult.companyLogoUrl.isEmpty
            ? Image.asset('assets/images/missing-company-logo.png')
            : Image.network(widget.searchResult.companyLogoUrl),
      )
  </code></pre>
  <p>And now I want to test that the missing logo image is loaded when no url is provided.
  How can I get the source url or local file after obtain the Image widget in a test?</p>
  <pre><code>testWidgets('given', (tester) async {
        await tester.pumpWidget(createSearchResultCard(mockResponse));
        await tester.pumpAndSettle();
        final Image image = find.byType(Image).evaluate().single.widget as Image;
        final String source = image. // How do I get the file source?
        expect(...)
      });
  </code></pre>
  <p>Is there a way to tell which picture has been loaded?</p>