@@ -0,0 +1,1450 @@
+/*%0A * (C) Copyright IBM Corp. 2021.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not use this file except in compliance with%0A * the License. You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on%0A * an %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the%0A * specific language governing permissions and limitations under the License.%0A */%0A%0Apackage com.ibm.watson.assistant.v2.model;%0A%0Aimport static org.testng.Assert.*;%0A%0Aimport com.ibm.cloud.sdk.core.service.model.FileWithMetadata;%0Aimport com.ibm.watson.assistant.v2.utils.TestUtilities;%0Aimport java.io.InputStream;%0Aimport java.util.HashMap;%0Aimport java.util.List;%0Aimport org.testng.annotations.Test;%0A%0A/** Unit test class for the SearchResultAnswer model. */%0Apublic class SearchResultAnswerTest %7B%0A  final HashMap%3CString, InputStream%3E mockStreamMap = TestUtilities.createMockStreamMap();%0A  final List%3CFileWithMetadata%3E mockListFileWithMetadata =%0A      TestUtilities.creatMockListFileWithMetadata();%0A%0A  @Test%0A  public void testSearchResultAnswer() throws Throwable %7B%0A    SearchResultAnswer searchResultAnswerModel = new SearchResultAnswer();%0A    assertNull(searchResultAnswerModel.getText());%0A    assertNull(searchResultAnswerModel.getConfidence());%0A  %7D%0A%7D%0A

add unit tests for the searchResult model