For all GuestResource trait, we have impl GuestResource for MockedResource. With a constructor method, the method returns Self, i.e., MockedResource. A type directed traits like ToValue or Dialog can only be dispatched to the generic MockedResource type, and we can only fill in a dummy name in the MockedResource field. This only outputs a confusing log, the correctness is not affected.
To fix this, we may need to create mocked resource type for each resource trait. Or need to think of some special treatment for constructor method.