Media Resource Mock returns promise