Need a mock for some objects to make the test unit.