mock_device -> stub_device