FilePickerProxy { public String getFilePath(Intent data) { return data.getStringExtra(FilePickerActivity.RESULT_FILE_PATH); }  void openFilePicker(Fragment fragment, AssetType assetType); boolean isPickFileRequested(int requestCode, AssetType assetType); boolean isFilePicked(int resultCode); String getFilePath(Intent data);  }
@Test public void whenGettingFilePathExpectCorrectResult() { assertThat(filePickerProxy.getFilePath(intentMock), is(FILE_PATH)); }