ensure we get the object we are expecting