/**
 * Copyright 2017 Goldman Sachs.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package utility;

/**
 * Write tests for the InputValidator class here
 */
public class InputValidatorTest {

    // TODO - write a test for each method in the InputValidator class

}

@@ -726,11 +726,11 @@
 est 
-%7B
 %0D%0A
+%7B
 %0D%0A  
@@ -799,13 +799,569 @@
  class%0D%0A
+    public static boolean validateInput()%0D%0A    %7B%0D%0A        if(fileName == null %7C%7C fileName == %22%22)%0D%0A         %7B%0D%0A            return false;%0D%0A         %7D%0D%0A        validateFile(%22companyInfo.json%22);%0D%0A        validateFile(%22historicalStockData.json%22);%0D%0A        validateFile(%22foo%22);%0D%0A        validateCompany(%22AAPL%22);%0D%0A        validateCompany(%22GOOG%22);%0D%0A        validateCompany(%22FOO%22);%0D%0A        validateStock(%22AAPL%22, %223/15/2017%22, %225/1/2017%22);%0D%0A        validateStock(%22FOO%22, %223/16/2017%22, %223/28/2017%22);%0D%0A        validateStock(%22BIDU%22, %224/6/2017%22, %223/15/2017%22);%0D%0A    %7D%0D%0A    
 %0D%0A%7D%0D%0A

Update InputValidatorTest.java