In many cases the provider returns null, and you don't expect() anything in that case.