remove Callable typehint in favor of expectFactory