MockInvokerFactory removed
use of ES6 Promise