Created by Jennifer Thompson on 3/24/17.
Created by Jennifer Thompson on 3/24/17.
This is a mock version of SparkExecutionContext, for use in tests.
Use new DBVisualModelFactoryImpl(DBVisualModelHelperMock) or new HDFSVisualModelFactoryImpl(HDFSVisualModelHelperMock) instead.
This is a mock version of SparkExecutionContext, for use in tests. This defines the HDFSVisualModelHelper as HDFSVisualModelHelperMock, and chorusAPICaller according to the argument.
It can be extended for different behaviour (e.g. mocking the file system).